main/bacula: re-enable

Now it builds and runs on x86_64 at least
This commit is contained in:
Leonardo Arena 2022-01-05 09:05:31 +00:00
parent 7b9f3ca084
commit 0158115e45

View File

@ -5,7 +5,7 @@ pkgver=9.6.7
pkgrel=1
pkgdesc="Enterprise ready, network based backup program"
url="https://www.bacula.org"
#arch="all"
arch="all"
license="AGPL-3.0-or-later WITH OpenSSL-Exception"
makedepends="autoconf automake libtool mariadb-connector-c-dev ncurses-dev openssl-dev postgresql-dev
sqlite-dev zlib-dev lzo-dev acl-dev postgresql"
@ -23,22 +23,10 @@ source="https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkg
bacula-7.4.0-path-mounted.patch
"
options="!check" #no test suite provided
builddir="$srcdir/$pkgname-$pkgver"
_bworkdir="/var/lib/$pkgname"
prepare () {
default_prepare
cd "$builddir"/autoconf
autoconf
autoreconf -fi
cp configure ../
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@ -73,8 +61,6 @@ build() {
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
local daemon; for daemon in dir sd fd; do