mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
* portVersionedName contains the secondary architecture, so using it means secondary package builds fail. example: $portVersionedName is libwow_x86-0.0.0 when doing an x86 build on x86_gcc2
51 lines
1.2 KiB
Plaintext
51 lines
1.2 KiB
Plaintext
#TODO:split out _devel
|
|
SUMMARY="LibParserUtils is a library for building efficient parsers"
|
|
DESCRIPTION="LibParserUtils is a library for building efficient parsers"
|
|
HOMEPAGE="http://www.netsurf-browser.org/projects/libparserutils/"
|
|
SRC_URI="git://git.netsurf-browser.org/libparserutils.git"
|
|
REVISION="1"
|
|
LICENSE="MIT"
|
|
COPYRIGHT="2007 - 2013 J-M Bell"
|
|
|
|
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
libparserutils$secondaryArchSuffix = $portVersion
|
|
lib:libparserutils$secondaryArchSuffix = $portVersion
|
|
devel:libparserutils$secondaryArchSuffix = $portVersion
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libiconv${secondaryArchSuffix}
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libiconv${secondaryArchSuffix}
|
|
netsurf_buildsystem >= 0
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:perl
|
|
"
|
|
|
|
|
|
BUILD()
|
|
{
|
|
make PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install PREFIX=$prefix NSSHARED=/system/data/netsurf-buildsystem \
|
|
I=/develop/headers/libparserutils
|
|
mkdir -p $prefix/develop/lib
|
|
mv -f $prefix/lib/*.a $prefix/develop/lib/
|
|
mv -f $prefix/lib/pkgconfig $prefix/develop/lib/
|
|
}
|