aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2012-05-19 11:30:41 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2012-05-20 16:57:45 +0000
commitca97917b921068d6d565176596dbb7f94097e4bd (patch)
tree20bfb37894abb447b9565ff1eeada97988fe598b /testing
parent2243f5feea5314d51bd3f32e39157e6e6521f0c4 (diff)
downloadaports-ca97917b921068d6d565176596dbb7f94097e4bd.tar.bz2
aports-ca97917b921068d6d565176596dbb7f94097e4bd.tar.xz
testing/liburiparser: upgrade to 0.7.7
Diffstat (limited to 'testing')
-rw-r--r--testing/liburiparser/APKBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/testing/liburiparser/APKBUILD b/testing/liburiparser/APKBUILD
index 7130338bae..2d40121541 100644
--- a/testing/liburiparser/APKBUILD
+++ b/testing/liburiparser/APKBUILD
@@ -1,7 +1,7 @@
# Contributor:
-# Maintainer:
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=liburiparser
-pkgver=0.7.5
+pkgver=0.7.7
pkgrel=1
pkgdesc="A strictly RFC 3986 compliant URI parsing and handling library"
url="http://uriparser.sourceforge.net/"
@@ -12,9 +12,9 @@ depends_dev=
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
-source="http://downloads.sourceforge.net/sourceforge/uriparser/uriparser-${pkgver}.tar.gz"
-
+source="http://downloads.sourceforge.net/sourceforge/uriparser/uriparser-${pkgver}.tar.bz2"
_builddir="${srcdir}"/"uriparser-${pkgver}"
+
prepare() {
local i
cd "$_builddir"
@@ -27,14 +27,18 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --disable-test --disable-doc
+ ./configure \
+ --prefix=/usr \
+ --disable-test \
+ --disable-doc \
+ --disable-static || return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
- find "$pkgdir" -name *.la -print | xargs rm
+ rm "$pkgdir"/usr/lib/*.la || return 1
}
-md5sums="459c2786758929b92bfbd0cee25b5aa0 uriparser-0.7.5.tar.gz"
+md5sums="2da950ef006be5a842dcc383cbbeaa78 uriparser-0.7.7.tar.bz2"