diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-09-16 08:50:49 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-09-16 08:50:49 +0000 |
commit | 86cfde3ad48d561f611f4b72f44e97bfa6074bd6 (patch) | |
tree | 89828bc590896f5c370c64334ed82f667b176949 /main/bacula | |
parent | 0aca89ea1faec96616cd01c3b45d4895838af51c (diff) | |
download | aports-86cfde3ad48d561f611f4b72f44e97bfa6074bd6.tar.bz2 aports-86cfde3ad48d561f611f4b72f44e97bfa6074bd6.tar.xz |
main/bacula: split client into subpkg
Diffstat (limited to 'main/bacula')
-rw-r--r-- | main/bacula/APKBUILD | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/main/bacula/APKBUILD b/main/bacula/APKBUILD index 1b57416adf..4a776c7e88 100644 --- a/main/bacula/APKBUILD +++ b/main/bacula/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=bacula pkgver=7.4.3 -pkgrel=0 +pkgrel=1 pkgdesc="Enterprise ready, network based backup program" url="http://www.bacula.org" arch="all" @@ -11,7 +11,8 @@ depends="" makedepends="autoconf mariadb-dev ncurses-dev openssl-dev postgresql-dev sqlite-dev zlib-dev lzo-dev" install="$pkgname.pre-install $pkgname.post-upgrade" -subpackages="$pkgname-doc $pkgname-mysql $pkgname-pgsql $pkgname-sqlite" +subpackages="$pkgname-doc $pkgname-mysql $pkgname-pgsql $pkgname-sqlite + $pkgname-client $pkgname-libs" pkgusers="bacula" pkggroups="bacula" somask="libbaccats-$pkgver.so" @@ -151,6 +152,20 @@ sqlite() { _mv_backend sqlite3 } +libs() { + pkgdesc="Bacula libraries" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/* "$subpkgdir"/usr/lib +} + +client() { + pkgdesc="Bacula client" + mkdir -p "$subpkgdir"/usr/sbin + for bin in bacula bacula-fd bconsole btraceback; do + mv "$pkgdir"/usr/sbin/$bin "$subpkgdir"/usr/sbin + done +} + md5sums="e0d1e5f65d0d0059bf3a016da6b7a47d bacula-7.4.3.tar.gz 3967099975a3eafe5811482b231b159f bacula-dir-init 20f28a16f34e3f20ed18ed81b010e765 bacula-dir-conf |