void-packages/srcpkgs/nfs-utils/template

40 lines
1.3 KiB
Plaintext
Raw Normal View History

# Template file for 'nfs-utils'
pkgname=nfs-utils
2012-11-16 10:19:52 +01:00
version=1.2.7
revision=1
build_style=gnu-configure
configure_args="--with-statduser=nobody --enable-gss --enable-nfsv4
2012-11-16 10:19:52 +01:00
--with-statedir=/var/lib/nfs --enable-libmount-mount
--without-tcp-wrappers --enable-ipv6 --sbindir=/usr/sbin"
depends="rpcbind"
subpackages="$pkgname-server"
makedepends="pkg-config libblkid-devel libmount-devel libtirpc-devel
librpcsecgss-devel libnfsidmap-devel libevent-devel device-mapper-devel
2012-11-16 10:19:52 +01:00
libcap-devel mit-krb5-devel sqlite-devel"
short_desc="Network File System client utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://nfs.sourceforge.net"
2012-11-16 10:19:52 +01:00
distfiles="${KERNEL_SITE}/utils/${pkgname}/${version}/${pkgname}-${version}.tar.xz"
checksum=d78768a0819c5eeed5e5abb6c4c9048962e9f8b9ef45451ea4db6aee38720121
long_desc="
The $pkgname package provides client utilities for the linux kernel
implementation of NFS - Network File System."
conf_files="/etc/idmapd.conf"
2012-07-14 23:28:07 +02:00
make_dirs="
/var/lib/nfs/rpc_pipefs 0755 root root
/var/lib/nfs/sm 0750 root root"
2012-07-14 23:28:07 +02:00
post_install() {
2012-05-24 11:13:02 +02:00
vmove "sbin/*" usr/sbin
# conffiles
vinstall ${FILESDIR}/exports 644 etc
vinstall ${FILESDIR}/idmapd.conf 644 etc
# systemd glue
2012-07-09 22:55:00 +02:00
vmkdir usr/lib/systemd/system
install -m644 ${FILESDIR}/*.{service,mount} \
2012-07-09 22:55:00 +02:00
${DESTDIR}/usr/lib/systemd/system
}