CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
python: initial import due to footprint mismatches for the ARM architecture
[ports/opt-arm.git] / nfs-utils / Pkgfile
CommitLineData
e72251b7
VM
1# Description: NFS utilities
2# URL: http://nfs.sourceforge.net/
3# Maintainer: Juergen Daubert, jue at crux dot nu
4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5# Depends on: util-linux-ng tcp_wrappers libcap rpcbind libnfsidmap libevent keyutils
6
7name=nfs-utils
8version=1.2.5
9release=1
10source=(http://downloads.sourceforge.net/project/nfs/$name/$version/$name-$version.tar.bz2 \
11 exports idmapd.conf nfs nfsserver $name-${version}_PAGE_SIZE.patch)
12
13build () {
14 cd $name-$version
15
16 patch -p1 -i $SRC/$name-${version}_PAGE_SIZE.patch
17 ./configure --prefix=/usr \
18 --mandir=/usr/man \
19 --sysconfdir=/etc \
20 --with-statedir=/var/lib/nfs \
21 --disable-gss \
22 --with-tcp-wrappers
23 make
24 make DESTDIR=$PKG install
25
26 install -D -m 755 $SRC/nfs $PKG/etc/rc.d/nfs
27 install -D -m 755 $SRC/nfsserver $PKG/etc/rc.d/nfsserver
28 install -D -m 644 $SRC/exports $PKG/etc/exports
29 install -D -m 644 $SRC/idmapd.conf $PKG/etc/idmapd.conf
30
31 install -d $PKG/var/lib/nfs/{rpc_pipefs,v4recovery}
32 install -d $PKG/etc/exports.d
33}