blob: fc5cd9c06ab5d43d179c55e149d0c23817110bcc (
plain)
1 # Description: Tools for the Linux quota system
2 # URL: http://sourceforge.net/projects/linuxquota/
3 # Packager: Mikhail Kolesnik, mike at openbunker dot org
4 # Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
5
6 name=quota
7 version=3.17
8 release=1
9 source=(http://dl.sourceforge.net/sourceforge/linuxquota/$name-$version.tar.gz \
10 warnquota.conf)
11
12 build(){
13 cd $name-tools
14 ./configure --prefix=/usr \
15 --mandir=/usr/man \
16 --sysconfdir=/etc/quota \
17 --enable-nls=no \
18 --enable-altformat=yes \
19 --enable-rpc=yes \
20 --enable-nis=no \
21 --enable-bsd_behaviour=yes \
22 --enable-rootsbin=yes
23 make
24 make install ROOTDIR=$PKG
25 install -D -m 644 $SRC/warnquota.conf $PKG/etc/quota/warnquota.conf
26 find $PKG/etc/quota -type f | xargs sed -i 's|/etc|/etc/quota|'
27 }
|