void-packages/srcpkgs/nfs4-acl-tools/template

31 lines
893 B
Bash

# Template file for 'nfs4-acl-tools'
pkgname=nfs4-acl-tools
version=0.3.7
revision=1
build_style=gnu-configure
hostmakedepends="automake autoconf libtool"
makedepends="attr-devel"
short_desc="Client tools for manipulating NFSv4 ACLs directly"
maintainer="Giuseppe Fierro <gspe@ae-design.ws>"
license="BSD-3-Clause, LGPL-2.1-or-later, GPL-2.0-only"
homepage="http://linux-nfs.org/wiki/index.php/Main_Page"
distfiles="http://linux-nfs.org/~bfields/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=1b929f15b7b8d1701a416a0888df61a2a173b50eeaa9fed4f28543ffe8989503
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
pre_configure() {
cp /usr/share/autoconf/build-aux/{config.guess,config.sub} "${wrksrc}"
autoreconf -ifv
}
pre_install() {
export CHOWNPROG=: CHGRPPROG=: # Don't try to chown/chgrp as we build as non-root
}
post_install() {
vlicense COPYING
}