aboutsummaryrefslogtreecommitdiffstats
path: root/main/apr-util/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/apr-util/APKBUILD')
-rw-r--r--main/apr-util/APKBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/main/apr-util/APKBUILD b/main/apr-util/APKBUILD
index 9312b4e939..7af7292f3e 100644
--- a/main/apr-util/APKBUILD
+++ b/main/apr-util/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=apr-util
pkgver=1.5.4
-pkgrel=1
+pkgrel=2
pkgdesc="The Apache Portable Runtime Utility Library"
url="http://apr.apache.org/"
arch="all"
@@ -10,15 +10,14 @@ depends=
subpackages="$pkgname-dev $pkgname-dbm_db $pkgname-dbd_pgsql
$pkgname-dbd_sqlite3 $pkgname-ldap"
makedepends="apr-dev expat-dev bash openldap-dev sqlite-dev postgresql-dev
- db-dev"
+ db-dev chrpath"
depends_dev="expat-dev apr-dev openldap-dev sqlite-dev postgresql-dev
db-dev"
source="http://www.apache.org/dist/apr/$pkgname-$pkgver.tar.bz2"
-
-_builddir="$srcdir/$pkgname-$pkgver"
+builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -28,6 +27,7 @@ build() {
--with-pgsql \
--with-sqlite3 \
--with-berkeley-db \
+ --with-crypto \
--without-sqlite2 \
--without-gdbm \
|| return 1
@@ -35,9 +35,10 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
- rm "$pkgdir"/usr/lib/*.exp || return 1
+ rm "$pkgdir"/usr/lib/*.exp || return 1
+ chrpath -d "$pkgdir"/usr/lib/*.so.* || return 1
}
_mv_mod() {