Updated uriparser to 0.7.9.

This commit is contained in:
Scott McCreary
2013-10-22 00:15:18 +00:00
parent e9dce4a4f5
commit 7d72477e7b
3 changed files with 69 additions and 31 deletions

View File

@@ -1,27 +0,0 @@
DESCRIPTION="Uriparser is a strictly RFC 3986 compliant URI parsing library in C"
HOMEPAGE="http://uriparser.sourceforge.net/"
SRC_URI="http://downloads.sourceforge.net/project/uriparser/Sources/0.7.5/uriparser-0.7.5.tar.gz"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
CHECKSUM_MD5="459c2786758929b92bfbd0cee25b5aa0"
BUILD()
{
cd uriparser-0.7.5
libtoolize --force --copy
aclocal
autoconf
automake
./configure --prefix=`finddir B_COMMON_DIRECTORY` -disable-test --disable-doc
make
}
INSTALL()
{
cd uriparser-0.7.5
make install
}
LICENSE="BSD (3-clause)"
COPYRIGHT="2007 Weijia Song
2007-2008 Sebastian Pipping"

View File

@@ -0,0 +1,64 @@
SUMMARY="Uriparser is 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/"
SRC_URI="http://downloads.sourceforge.net/project/uriparser/Sources/0.7.9/uriparser-0.7.9.tar.bz2"
CHECKSUM_MD5="d9189834b909df8d672ecafc34186a58"
LICENSE="BSD (3-clause)"
COPYRIGHT="2007 Weijia Song
2007-2008 Sebastian Pipping"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
uriparser = $portVersion compat >= 0.7
lib:liburiparser = 1.0.14 compat >= 1
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
haiku_devel
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
prepareInstalledDevelLib liburiparser
fixPkgconfig
packageEntries devel \
$developDir
}
PROVIDES_devel="
devel:uriparser = 1.0.14 compat >= 1
devel:liburiparser = 1.0.14 compat >= 1
"
REQUIRES_devel="
liburiparser == $portVersion base
"

View File

@@ -10,7 +10,7 @@ REVISION="1"
ARCHITECTURES="x86 x86_gcc2"
PROVIDES="
sdl_net =$portVersion
sdl_mixer = $portVersion
lib:libSDL_mixer_1.2 = $portVersion compat >= 1.2
devel:libSDL_mixer = $portVersion compat >= 1.2
"
@@ -23,11 +23,11 @@ REQUIRES="
libvorbis
libogg
# libmikmod
# smpeg
smpeg
"
BUILD_REQUIRES="
devel:libsdl
devel:libsdl
"
BUILD_PREREQUIRES="
@@ -46,10 +46,11 @@ BUILD_PREREQUIRES="
devel:libvorbis
devel:libogg
# devel:libmikmod
# devel:smpeg
devel:smpeg
"
SOURCE_DIR="SDL_mixer-$portVersion"
BUILD()
{
libtoolize --force --copy --install