# HG changeset patch # User Pascal Bellard # Date 1371650930 -7200 # Node ID 2a403468837c150f33547f24167a636872ae23e9 # Parent c6e93d1e6bac3dadf147d4a5e444921a6deead86 Add quota diff -r c6e93d1e6bac -r 2a403468837c quota/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/quota/receipt Wed Jun 19 16:08:50 2013 +0200 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="quota" +VERSION="4.01" +CATEGORY="system-tools" +SHORT_DESC="Tools for the Linux Diskquota system" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://quota.sourceforge.net/" +WGET_URL="$SF_MIRROR/linuxquota/quota-tools/$VERSION/$TARBALL" + +DEPENDS="e2fsprogs" +BUILD_DEPENDS="gettext e2fsprogs-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && + make && + make ROOTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/sbin $fs/usr + cp -a $install/etc $fs +}