aboutsummaryrefslogtreecommitdiffstats
path: root/main/mariadb
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-06-03 14:23:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-06-03 14:24:37 +0000
commit910011586e352662e691afcebd578829ec4f40b2 (patch)
tree9b30b1d22727a676385de5e781693c20876acc9d /main/mariadb
parent72d707f9b7c489fd53bfd2ca11d2fdd1041a8572 (diff)
downloadaports-910011586e352662e691afcebd578829ec4f40b2.tar.bz2
aports-910011586e352662e691afcebd578829ec4f40b2.tar.xz
main/mariadb: add libs subpackage for server libs
we rename current mariadb-libs to mariadb-client libs and let mariadb-libs have the server lib(s). This way we avoid pull in the 145MB mariadb server package with mariadb-dev.
Diffstat (limited to 'main/mariadb')
-rw-r--r--main/mariadb/APKBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/main/mariadb/APKBUILD b/main/mariadb/APKBUILD
index 8ee38f3662..60493e841b 100644
--- a/main/mariadb/APKBUILD
+++ b/main/mariadb/APKBUILD
@@ -4,7 +4,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mariadb
pkgver=10.1.14
-pkgrel=1
+pkgrel=2
pkgdesc="A fast SQL database server"
url="http://www.mariadb.org"
pkgusers="mysql"
@@ -22,7 +22,8 @@ source="https://downloads.mariadb.org/interstitial/mariadb-$pkgver/source/mariad
fix-ucontext-check.patch
"
-subpackages="$pkgname-doc $pkgname-dev $pkgname-common $pkgname-libs
+subpackages="$pkgname-doc $pkgname-dev $pkgname-common
+ $pkgname-client-libs:_client_libs $pkgname-libs
$pkgname-client $pkgname-bench $pkgname-test:mytest
mysql mysql-client:_compat_client mysql-bench:_compat_bench"
@@ -109,7 +110,7 @@ dev(){
provides="mysql-dev=$pkgver-r$pkgrel"
}
-libs() {
+_client_libs() {
pkgdesc="MariaDB client library"
replaces="mariadb libmysqlclient"
depends="mariadb-common"