mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 21:30:08 +02:00
56 lines
1.3 KiB
Plaintext
56 lines
1.3 KiB
Plaintext
#TODO:split out _devel
|
|
SUMMARY="A CSS parser and selection engine"
|
|
DESCRIPTION="
|
|
LibCSS is a CSS (Cascading Style Sheet) parser and selection engine.
|
|
"
|
|
HOMEPAGE="http://www.netsurf-browser.org/projects/libcss/"
|
|
SRC_URI="git://git.netsurf-browser.org/libcss.git"
|
|
REVISION="1"
|
|
LICENSE="MIT"
|
|
COPYRIGHT="2007 - 2013 J-M Bell"
|
|
|
|
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
libcss$secondaryArchSuffix = $portVersion
|
|
lib:libcss$secondaryArchSuffix = $portVersion
|
|
devel:libcss$secondaryArchSuffix = $portVersion
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libparserutils${secondaryArchSuffix}
|
|
lib:libwapcaplet${secondaryArchSuffix}
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libparserutils${secondaryArchSuffix} >= 0.1.1
|
|
devel:libwapcaplet${secondaryArchSuffix} >= 0.1.1
|
|
netsurf_buildsystem >= 0
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:perl
|
|
cmd:pkg_config
|
|
"
|
|
|
|
|
|
BUILD()
|
|
{
|
|
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
|
I=/develop/headers/libcss
|
|
mkdir -p $prefix/develop/lib
|
|
mv -f $prefix/lib/*.a $prefix/develop/lib/
|
|
mv -f $prefix/lib/pkgconfig $prefix/develop/lib/
|
|
}
|