2007-10-10 16:18:45 +02:00
|
|
|
# Description: Tools for the Linux quota system
|
|
|
|
# URL: http://sourceforge.net/projects/linuxquota/
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2015-12-03 13:51:09 +01:00
|
|
|
# Depends on: e2fsprogs
|
2007-10-10 16:18:45 +02:00
|
|
|
|
|
|
|
name=quota
|
2016-11-13 16:27:28 +01:00
|
|
|
version=20160809
|
|
|
|
release=1
|
|
|
|
source=(http://crux.s3.amazonaws.com/dist/$name-$version.tar.xz)
|
2007-10-10 16:18:45 +02:00
|
|
|
|
|
|
|
build(){
|
2016-11-13 16:27:28 +01:00
|
|
|
cd $name-$version
|
|
|
|
|
2007-10-10 16:18:45 +02:00
|
|
|
./configure --prefix=/usr \
|
2012-06-27 18:43:21 +02:00
|
|
|
--sysconfdir=/etc \
|
2016-11-13 16:27:28 +01:00
|
|
|
--disable-nls \
|
|
|
|
--disable-libwrap \
|
|
|
|
--disable-netlink \
|
|
|
|
--disable-ldapmail
|
|
|
|
|
2007-10-10 16:18:45 +02:00
|
|
|
make
|
2016-11-13 16:27:28 +01:00
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
rm -r $PKG/usr/{include,share/doc}
|
|
|
|
|
|
|
|
install -d $PKG/etc $PKG/sbin
|
|
|
|
|
|
|
|
mv $PKG/usr/sbin/quotacheck $PKG/sbin
|
|
|
|
mv $PKG/usr/sbin/{quotaon,quotaoff} $PKG/sbin
|
|
|
|
|
|
|
|
install -m 644 warnquota.conf $PKG/etc
|
|
|
|
install -m 644 quotagrpadmins $PKG/etc
|
2007-10-10 16:18:45 +02:00
|
|
|
}
|