mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-13 15:20:07 +02:00
66 lines
1.3 KiB
Bash
66 lines
1.3 KiB
Bash
SUMMARY="A strictly RFC 3986 compliant URI parsing library in C"
|
|
DESCRIPTION="
|
|
Uriparser is a strictly RFC 3986 compliant URI parsing library in C."
|
|
HOMEPAGE="http://uriparser.sourceforge.net/"
|
|
COPYRIGHT="2007 Weijia Song
|
|
2007-2008 Sebastian Pipping"
|
|
LICENSE="BSD (3-clause)"
|
|
REVISION="1"
|
|
SOURCE_URI="http://downloads.sourceforge.net/project/uriparser/Sources/$portVersion/uriparser-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="ce7ccda4136974889231e8426a785e7578e66a6283009cfd13f1b24a5e657b23"
|
|
PATCHES="uriparser-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
|
|
PROVIDES="
|
|
uriparser = $portVersion compat >= 0.7
|
|
cmd:uriparse = $portVersion
|
|
lib:liburiparser = 1.0.20 compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
devel:uriparser = 1.0.20 compat >= 1
|
|
devel:liburiparser = 1.0.20 compat >= 1
|
|
"
|
|
REQUIRES_devel="
|
|
uriparser == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:libtool
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal -I m4
|
|
autoconf
|
|
automake --add-missing
|
|
runConfigure ./configure --disable-test --disable-doc
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/liburiparser.la
|
|
|
|
prepareInstalledDevelLib liburiparser
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|