Commit 6a9c0d5e authored by Jakub Jirutka's avatar Jakub Jirutka

testing/netatalk: unbundle dependencies and be explicit w/ flags

parent d8d15c81
......@@ -7,7 +7,7 @@ pkgdesc="Netatalk is a freely-available Open Source AFP fileserver"
url="http://netatalk.sourceforge.net/"
arch="all"
license="GPL2"
makedepends="db-dev libgcrypt-dev acl-dev"
makedepends="acl-dev attr-dev db-dev libevent-dev libgcrypt-dev tdb-dev"
subpackages="$pkgname-doc $pkgname-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
netatalk.initd"
......@@ -15,6 +15,7 @@ builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
......@@ -22,6 +23,24 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--disable-silent-rules \
--disable-zeroconf \
--disable-tcp-wrappers \
--enable-overwrite \
--without-libiconv \
--without-pam \
--without-shadow \
--without-kerberos \
--without-ldap \
--with-acls \
--without-libevent \
--with-libevent-header=/usr/include \
--with-libevent-lib=/usr/lib \
--with-bdb=/usr \
--without-tdb \
--without-dtrace \
--without-afpstats \
--with-lockfile=/run \
|| return 1
make || return 1
}
......@@ -31,6 +50,10 @@ package() {
make DESTDIR="$pkgdir" install || return 1
# We don't build with dbug support.
rm "$pkgdir"/etc/dbus-session.conf
rm "$pkgdir"/usr/bin/afpstats
install -m 755 -D "$srcdir"/$pkgname.initd \
"$pkgdir"/etc/init.d/$pkgname || return 1
}
......
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