2012-02-11 21:52:08 +00:00
|
|
|
# Maintainer: Andrea Crotti <mail andrea dot crotti dot 0 at gmail dot com>
|
2011-01-27 02:03:22 +00:00
|
|
|
# Contributor: William Udovich <nerdzrule7 at earthlink dot net>
|
|
|
|
# Contributor: Farhan Yousaf <farhany at xaviya dot com>
|
|
|
|
|
2011-06-09 21:49:39 +00:00
|
|
|
plugrel=1
|
2011-01-27 02:03:22 +00:00
|
|
|
|
|
|
|
pkgname=netatalk
|
2012-02-11 21:52:08 +00:00
|
|
|
pkgver=2.2.2
|
|
|
|
pkgrel=0
|
2011-01-27 02:03:22 +00:00
|
|
|
pkgdesc="A kernel level implementation of the AppleTalk Protocol Suite"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://netatalk.sourceforge.net"
|
|
|
|
options=('!libtool')
|
|
|
|
license=("GPL")
|
2012-02-11 21:52:08 +00:00
|
|
|
backup=('etc/netatalk/afpd.conf'
|
|
|
|
'etc/netatalk/netatalk.conf'
|
|
|
|
'etc/netatalk/atalkd.conf'
|
|
|
|
'etc/netatalk/papd.conf'
|
|
|
|
'etc/netatalk/AppleVolumes.default'
|
|
|
|
'etc/netatalk/AppleVolumes.system')
|
|
|
|
|
|
|
|
depends=('libcups' 'pam' 'coreutils>=7.1-2' 'db')
|
|
|
|
optdepends=('avahi' 'tcp_wrappers' 'openssl' 'libgcrypt')
|
2011-01-27 02:03:22 +00:00
|
|
|
makedepends=('make' 'patch' 'gcc')
|
2012-02-11 21:52:08 +00:00
|
|
|
source=(http://voxel.dl.sourceforge.net/project/netatalk/netatalk/$pkgver/netatalk-$pkgver.tar.bz2 \
|
2011-01-27 02:03:22 +00:00
|
|
|
afpd atalkd papd cnid afpd.service)
|
|
|
|
install=netatalk.install
|
2012-02-11 21:52:08 +00:00
|
|
|
|
|
|
|
md5sums=('bd42b686ec7209d9ab47bd8e2e2431c4'
|
2011-06-09 21:49:39 +00:00
|
|
|
'16ab9fa50ec4abde6de478fc7de57805'
|
2011-01-27 02:03:22 +00:00
|
|
|
'2d05de4a16faf7d4af21b5f14e33fa82'
|
|
|
|
'b16a687c96dd1ca7ffefd7c995356c0d'
|
2012-02-11 21:52:08 +00:00
|
|
|
'e21ef8051269583764e68d00683691bb'
|
2011-01-27 02:03:22 +00:00
|
|
|
'9b6b2fee54fe052bba0c69f00d335bdb')
|
|
|
|
|
|
|
|
build() {
|
2012-02-11 21:52:08 +00:00
|
|
|
cd $startdir/src/netatalk-$pkgver
|
|
|
|
./configure --prefix=/usr --with-ssl-dir=/usr --localstatedir=/var --enable-fhs --enable-zeroconf=/usr --disable-srvloc --with-cnid-cdb-backend --enable-ddp
|
|
|
|
make || return 1
|
|
|
|
make DESTDIR=$startdir/pkg install
|
2011-01-27 02:03:22 +00:00
|
|
|
|
2012-02-11 21:52:08 +00:00
|
|
|
mv $startdir/pkg/usr/include/netatalk{,2}
|
2011-01-27 02:03:22 +00:00
|
|
|
|
2012-02-11 21:52:08 +00:00
|
|
|
install -d $startdir/pkg/etc/rc.d
|
|
|
|
install -m755 ../{afpd,atalkd,papd,cnid} $startdir/pkg/etc/rc.d
|
2011-01-27 02:03:22 +00:00
|
|
|
|
2012-02-11 21:52:08 +00:00
|
|
|
install -d $startdir/pkg/etc/avahi/services
|
|
|
|
install -m744 ../afpd.service $startdir/pkg/etc/avahi/services
|
2011-01-27 02:03:22 +00:00
|
|
|
|
2012-02-11 21:52:08 +00:00
|
|
|
rm -f $startdir/pkg/usr/share/man/man1/timeout.1{,.gz}
|
2011-01-27 02:03:22 +00:00
|
|
|
}
|