Files
haikuports/dev-libs/libcss/libcss-0.4.0.recipe
dash102 a3591a7721 Reformat 10 recipes
Update libnsgif-0.1.1.recipe

Update libsdl2-2.0.0.recipe

Update haikuwebkit-1.2.0.recipe

Update haikuwebkit-1.2.1.recipe

Update haikuwebkit-1.2.2.recipe

Update haikuwebkit-1.2.3.recipe

Update haikuwebkit-1.2.0.recipe

Update haikuwebkit-1.2.1.recipe

Update haikuwebkit-1.2.2.recipe

Update libnsbmp-0.1.1.recipe

Update libnsgif-0.1.1.recipe

Update libsdl2-2.0.0.recipe

Update libmpdclient-2.11_git.recipe

Update libpng-1.5.25.recipe

Update libcss-0.4.0.recipe

Update libdvdnav-4.2.0.recipe

Update libsdl2-2.0.0.recipe
2015-12-26 13:42:37 +00:00

69 lines
1.7 KiB
Bash

SUMMARY="A CSS parser and selection engine"
DESCRIPTION="LibCSS is a CSS (Cascading Style Sheet) parser and selection engine. \
It was developed as part of the NetSurf project"
HOMEPAGE="http://www.netsurf-browser.org/projects/libcss/"
COPYRIGHT="2007-2014 J-M Bell"
LICENSE="MIT"
REVISION="2"
SOURCE_URI="http://download.netsurf-browser.org/libs/releases/libcss-$portVersion-src.tar.gz"
CHECKSUM_SHA256="0be9509d9d352abdeec87764c1f8ba13950d9dc4f63acade0477209b7fd21748"
PATCHES="libcss-0.3.0.patchset"
ARCHITECTURES="x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
libcss$secondaryArchSuffix = $portVersion
lib:libcss$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libparserutils${secondaryArchSuffix}
lib:libwapcaplet${secondaryArchSuffix}
"
PROVIDES_devel="
libcss${secondaryArchSuffix}_devel = $portVersion
devel:libcss$secondaryArchSuffix = $portVersion
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libparserutils${secondaryArchSuffix} >= 0.2.0
devel:libwapcaplet${secondaryArchSuffix} >= 0.2.1
devel:libiconv
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:perl
cmd:pkg_config$secondaryArchSuffix
netsurf_buildsystem >= 1.2
"
BUILD()
{
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
INCLUDEDIR=$relativeIncludeDir
}
INSTALL()
{
make install PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
INCLUDEDIR=$relativeIncludeDir
mkdir -p $developLibDir
prepareInstalledDevelLib libcss
fixPkgconfig
# devel package
packageEntries devel $developDir
}
TEST()
{
make test PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
LDFLAGS="-liconv -lwapcaplet -lparserutils"
}