From c2c2eb58ea73e579392b7cb939131354ee2e628e Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 14 Mar 2016 20:55:05 +0100 Subject: [PATCH] New package: quota-4.03 This is a bit preliminary yet: - Would like to get rid of LDAP dependency, but then the build breaks. - musl not supported due to rpc/rpc.h usage (+ usual header fluff). - No init scripts or cron jobs yet. --- srcpkgs/quota/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/quota/template diff --git a/srcpkgs/quota/template b/srcpkgs/quota/template new file mode 100644 index 00000000000..b1f0dbf42b9 --- /dev/null +++ b/srcpkgs/quota/template @@ -0,0 +1,24 @@ +# Template file for 'quota' +pkgname=quota +version=4.03 +revision=1 +only_for_archs="i686 x86_64 armv6l armv7l" +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" +short_desc="Linux disk quota tool" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="https://sourceforge.net/projects/linuxquota/" +distfiles="${SOURCEFORGE_SITE}/linuxquota/quota-tools/${pkgname}-${version}.tar.gz" +checksum=9c6c4d9ae7bf30506dd2aa3d8056c4ff2f8d087930d7c721616f5c093bdc674b + +post_extract() { + sed -i 's/CFLAGS="/CFLAGS+=" /' configure +} + +post_install() { + rm -rf ${DESTDIR}/usr/include/rpcsvc ${DESTDIR}/usr/share/doc/quota +}