aboutsummaryrefslogtreecommitdiffstats
path: root/main/apr-util
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2016-09-06 17:50:57 +0000
committerJakub Jirutka <jakub@jirutka.cz>2016-09-28 23:25:56 +0200
commit9a6bfb688c63eae539f2b1db46c2f69dd9c72ae9 (patch)
tree70d0a8019bc7fb0e2a453f6c3a2bb83794a25d57 /main/apr-util
parentfd5fd618e2e692becc9695c0c37b83bcb4bf10f6 (diff)
downloadaports-9a6bfb688c63eae539f2b1db46c2f69dd9c72ae9.tar.bz2
aports-9a6bfb688c63eae539f2b1db46c2f69dd9c72ae9.tar.xz
main/apr-util: add crypto support
Diffstat (limited to 'main/apr-util')
-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() {