summaryrefslogtreecommitdiffstats
path: root/testing/liburiparser
diff options
context:
space:
mode:
Diffstat (limited to 'testing/liburiparser')
-rw-r--r--testing/liburiparser/APKBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/testing/liburiparser/APKBUILD b/testing/liburiparser/APKBUILD
index 7130338ba..2d4012154 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"