aboutsummaryrefslogtreecommitdiffstats
path: root/main/uriparser
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-04-23 10:04:23 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2014-04-23 10:19:42 +0000
commite49911f38e636f134ed75b2b2f70ef6335f1ea6d (patch)
tree7842b7b6d1797a5259ae19386edd87731c12d56c /main/uriparser
parent6a7992d95c3354c000c8b5fc88d060ec2586d127 (diff)
downloadaports-e49911f38e636f134ed75b2b2f70ef6335f1ea6d.tar.bz2
aports-e49911f38e636f134ed75b2b2f70ef6335f1ea6d.tar.xz
main/uriparser: renamed to uriparser moved to main and upgraded to 0.8.0
Diffstat (limited to 'main/uriparser')
-rw-r--r--main/uriparser/APKBUILD46
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"