diff options
Diffstat (limited to 'main/nfs-utils/APKBUILD')
-rw-r--r-- | main/nfs-utils/APKBUILD | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/main/nfs-utils/APKBUILD b/main/nfs-utils/APKBUILD index 99500506f0..4807e752ca 100644 --- a/main/nfs-utils/APKBUILD +++ b/main/nfs-utils/APKBUILD @@ -2,13 +2,13 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=nfs-utils pkgver=1.2.0 -pkgrel=1 +pkgrel=3 pkgdesc="kernel-mode NFS" url="http://nfs.sourceforge.net/" license="GPL" depends="portmap" makedepends="e2fsprogs-dev" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc rpcgen" source="http://downloads.sourceforge.net/nfs/$pkgname-$pkgver.tar.bz2 nfs.initd nfs.confd @@ -37,13 +37,21 @@ build() { --with-statedir=/var/lib/nfs make || return 1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" make -j1 DESTDIR="$pkgdir" install install -m755 -D "$srcdir"/nfs.initd "$pkgdir"/etc/init.d/nfs install -m644 -D "$srcdir"/nfs.confd "$pkgdir"/etc/conf.d/nfs install -m644 -D "$srcdir"/nfs.exports "$pkgdir"/etc/exports - #mkdir -p "$pkgdir"/usr/lib/nfs - install -m755 -D tools/rpcgen/rpcgen "$pkgdir"/usr/bin/rpcgen +} + +rpcgen() { + pkgdesc="Remote Procedure Call (RPC) protocol compiler" + cd "$srcdir/$pkgname-$pkgver" + install -m755 -D tools/rpcgen/rpcgen "$subpkgdir"/usr/bin/rpcgen } md5sums="779cf81044e92cb51ad590960e7b3671 nfs-utils-1.2.0.tar.bz2 |