void-packages/srcpkgs/quota/template
2017-09-06 11:47:24 +02:00

24 lines
829 B
Bash

# Template file for 'quota'
pkgname=quota
version=4.04
revision=1
only_for_archs="i686 x86_64 armv6l armv7l aarch64"
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=735be1887e7f51f54165e778ae43fc859c04e44d88834ecb2f470e91d4ef8edf
post_extract() {
sed -i 's/CFLAGS="/CFLAGS+=" /' configure
}
post_install() {
rm -rf ${DESTDIR}/usr/include/rpcsvc ${DESTDIR}/usr/share/doc/quota
}