diff options
Diffstat (limited to 'main/uriparser')
-rw-r--r-- | main/uriparser/APKBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/main/uriparser/APKBUILD b/main/uriparser/APKBUILD new file mode 100644 index 0000000000..5301d7b343 --- /dev/null +++ b/main/uriparser/APKBUILD @@ -0,0 +1,46 @@ +# Contributor: +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=uriparser +pkgver=0.8.0 +pkgrel=0 +pkgdesc="A strictly RFC 3986 compliant URI parsing and handling library" +url="http://uriparser.sourceforge.net/" +arch="all" +license="BSD" +depends= +depends_dev= +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev" +source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-${pkgver}.tar.bz2" +_builddir="${srcdir}"/"$pkgname-${pkgver}" + +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --prefix=/usr \ + --disable-test \ + --disable-doc \ + --disable-static || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm "$pkgdir"/usr/lib/*.la || return 1 +} + +md5sums="77601f52ab91c0e100fc5d783d9c1ee5 uriparser-0.8.0.tar.bz2" +sha256sums="1dd9f9779d8f17822bd7d68ba042fd67779b6e4ccf162bd3c9d0ff19a8ba9bf7 uriparser-0.8.0.tar.bz2" +sha512sums="e80efc8484f0b67107cad317cef72db9de906a86020c3ab31178e06e958782f0a744fe257b1e6cd130dd25c6747e684ece93ce5f755864303df34c6b763d2e5b uriparser-0.8.0.tar.bz2" |