Commit 86cfde3a authored by Leonardo Arena's avatar Leonardo Arena

main/bacula: split client into subpkg

parent 0aca89ea
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment