opt/quota/Pkgfile
Juergen Daubert 1f58b840cd Merge branch '2.6' into 2.7
Conflicts:
	gqview/Pkgfile
	mpg321/Pkgfile
	nfs-utils/Pkgfile
	p5-uri/Pkgfile
	p5-xml-parser/.footprint
	p5-xml-parser/Pkgfile
	quota/Pkgfile
	spamprobe/Pkgfile
2010-09-28 16:56:36 +02:00

30 lines
984 B
Plaintext

# Description: Tools for the Linux quota system
# URL: http://sourceforge.net/projects/linuxquota/
# Packager: Mikhail Kolesnik, mike at openbunker dot org
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
# Depends on: e2fsprogs tcp_wrappers
name=quota
version=3.17
release=2
source=(http://download.sourceforge.net/linuxquota/$name-$version.tar.gz \
warnquota.conf)
build(){
cd $name-tools
./configure --prefix=/usr \
--mandir=/usr/man \
--sysconfdir=/etc/quota \
--enable-nls=no \
--enable-altformat=yes \
--enable-rpc=yes \
--enable-nis=no \
--enable-bsd_behaviour=yes \
--enable-rootsbin=yes
make
make install ROOTDIR=$PKG
rm -r $PKG/usr/include
install -D -m 644 $SRC/warnquota.conf $PKG/etc/quota/warnquota.conf
find $PKG/etc/quota -type f | xargs sed -i 's|/etc|/etc/quota|'
}