1 # Contributor: Calogero Lo Leggio <kalos@autistici.org>
3 pkgname=bacula-wx-console
6 pkgdesc="Bacula, the Network Backup Tool for Linux, Unix, Mac and Windows [WX console]"
8 url="http://www.bacula.org"
12 backup=(etc/bwx-console.conf)
13 source=("http://downloads.sourceforge.net/sourceforge/bacula/bacula-$pkgver.tar.gz")
14 md5sums=('4547d0bf9f976d5d9ea5f21a7bd078ee')
17 cd "$startdir/src/bacula-$pkgver"
19 ./configure --prefix=/usr --sbindir=/usr/bin \
20 --enable-client-only --enable-bwx-console \
21 --with-x --with-tcp-wrappers --with-openssl \
22 --sysconfdir=/etc/ --with-scriptdir=/etc/bacula/scripts \
23 --with-archivedir=/usr/var/bacula/archive
27 # install only wx-console files
28 mkdir -p $startdir/pkg/etc/ $startdir/pkg/usr/bin/ $startdir/pkg/usr/man/man1
29 install -m755 $startdir/src/bacula-$pkgver/src/wx-console/bwx-console $startdir/pkg/usr/bin/bwx-console
30 install -m644 $startdir/src/bacula-$pkgver/src/wx-console/bwx-console.conf $startdir/pkg/etc/bwx-console.conf
31 install -m644 $startdir/src/bacula-$pkgver/manpages/bacula-bwxconsole.1 $startdir/pkg/usr/man/man1/bacula-bwxconsole.1