void-packages/srcpkgs/quota/template
2020-11-10 12:18:37 +01:00

24 lines
870 B
Bash

# Template file for 'quota'
pkgname=quota
version=4.06
revision=1
build_style=gnu-configure
make_build_args="V=1"
conf_files="/etc/quotagrpadmins /etc/quotatab /etc/warnquota.conf"
hostmakedepends="pkg-config automake gettext-devel"
makedepends="dbus-devel e2fsprogs-devel libldap-devel libnl3-devel libtirpc-devel"
short_desc="Linux disk quota tool"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2"
homepage="https://sourceforge.net/projects/linuxquota/"
distfiles="${SOURCEFORGE_SITE}/linuxquota/quota-tools/${pkgname}-${version}.tar.gz"
checksum=2f3e03039f378d4f0d97acdb49daf581dcaad64d2e1ddf129495fd579fbd268d
case "$XBPS_TARGET_MACHINE" in
# Only used in places where overflow is not possible.
*-musl) CFLAGS+=' -Dreallocarray\(o,n,s\)=realloc\(o,n*s\)';;
esac
post_install() {
rm -rf ${DESTDIR}/usr/include/rpcsvc ${DESTDIR}/usr/share/doc/quota
}