aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-09-14 08:15:53 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-09-14 15:20:48 +0000
commit5f13bd268c7d86ade44d1bf5c4b2ac3925877626 (patch)
tree0f2bacd0ad22722bd252dfa15a9fc9c83d5f1e66
parentedfc91da65ec0fc2d748836ca2d9210df70ec727 (diff)
downloadaports-5f13bd268c7d86ade44d1bf5c4b2ac3925877626.tar.gz
aports-5f13bd268c7d86ade44d1bf5c4b2ac3925877626.tar.bz2
aports-5f13bd268c7d86ade44d1bf5c4b2ac3925877626.tar.xz
main/apr-util: remove dbd backend and subpackage
-rw-r--r--main/apr-util/APKBUILD24
1 files changed, 8 insertions, 16 deletions
diff --git a/main/apr-util/APKBUILD b/main/apr-util/APKBUILD
index 6175754d03..656bf1bf37 100644
--- a/main/apr-util/APKBUILD
+++ b/main/apr-util/APKBUILD
@@ -1,49 +1,42 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=apr-util
pkgver=1.6.1
-pkgrel=6
+pkgrel=7
pkgdesc="The Apache Portable Runtime Utility Library"
url="http://apr.apache.org/"
arch="all"
license="Apache-2.0"
-depends=
-subpackages="$pkgname-dev $pkgname-dbm_db $pkgname-dbd_pgsql $pkgname-dbd_mysql
+subpackages="$pkgname-dev $pkgname-dbd_pgsql $pkgname-dbd_mysql
$pkgname-dbd_sqlite3 $pkgname-ldap"
-
-depends_dev="expat-dev apr-dev openldap-dev sqlite-dev postgresql-dev
- db-dev openssl-dev mariadb-dev"
-makedepends="$depends_dev bash chrpath openssl"
-source="https://www.apache.org/dist/apr/$pkgname-$pkgver.tar.bz2
+depends_dev="expat-dev openldap-dev sqlite-dev postgresql-dev
+ openssl-dev mariadb-dev"
+makedepends="$depends_dev apr-dev bash chrpath openssl"
+source="https://www.apache.org/dist/apr/apr-util-$pkgver.tar.bz2
musl-fix-testsuite.patch"
-builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--with-apr=/usr \
--with-ldap \
- --with-dbm=db53 \
--with-pgsql \
--with-mysql \
--with-sqlite3 \
- --with-berkeley-db \
--with-crypto \
--with-openssl \
--without-sqlite2 \
- --without-gdbm
+ --without-berkeley-db \
+ --with-dbm=ndbm
make
}
check() {
- cd "$builddir"
make -j1 check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
rm "$pkgdir"/usr/lib/*.exp
chrpath -d "$pkgdir"/usr/lib/*.so.*
@@ -57,7 +50,6 @@ _mv_mod() {
mv "$pkgdir"/$_moddir/apr_$1*.so "$subpkgdir"/$_moddir/
}
-dbm_db() { _mv_mod dbm_db "Berkley DB"; }
dbd_pgsql() { _mv_mod dbd_pgsql "PostgreSQL"; }
dbd_mysql() { _mv_mod dbd_mysql "MySQL"; }
dbd_sqlite3() { _mv_mod dbd_sqlite "SQLite3"; }