wok annotate quota/receipt @ rev 19846
Up tazweb (188)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Mar 14 20:18:44 2017 +0200 (2017-03-14) |
parents | 2a403468837c |
children | ec3fce5ac742 |
rev | line source |
---|---|
pascal@14762 | 1 # SliTaz package receipt. |
pascal@14762 | 2 |
pascal@14762 | 3 PACKAGE="quota" |
pascal@14762 | 4 VERSION="4.01" |
pascal@14762 | 5 CATEGORY="system-tools" |
pascal@14762 | 6 SHORT_DESC="Tools for the Linux Diskquota system" |
pascal@14762 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14762 | 8 LICENSE="GPL2" |
pascal@14762 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@14762 | 10 WEB_SITE="http://quota.sourceforge.net/" |
pascal@14762 | 11 WGET_URL="$SF_MIRROR/linuxquota/quota-tools/$VERSION/$TARBALL" |
pascal@14762 | 12 |
pascal@14762 | 13 DEPENDS="e2fsprogs" |
pascal@14762 | 14 BUILD_DEPENDS="gettext e2fsprogs-dev" |
pascal@14762 | 15 |
pascal@14762 | 16 # Rules to configure and make the package. |
pascal@14762 | 17 compile_rules() |
pascal@14762 | 18 { |
pascal@14762 | 19 cd $src |
pascal@14762 | 20 ./configure --prefix=/usr \ |
pascal@14762 | 21 --sysconfdir=/etc \ |
pascal@14762 | 22 --mandir=/usr/share/man \ |
pascal@14762 | 23 $CONFIGURE_ARGS && |
pascal@14762 | 24 make && |
pascal@14763 | 25 make ROOTDIR=$DESTDIR install 2>&1 | grep -v '*.2' |
pascal@14762 | 26 } |
pascal@14762 | 27 |
pascal@14762 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14762 | 29 genpkg_rules() |
pascal@14762 | 30 { |
pascal@14762 | 31 mkdir -p $fs/usr |
pascal@14762 | 32 cp -a $install/usr/bin $fs/usr |
pascal@14762 | 33 cp -a $install/usr/sbin $fs/usr |
pascal@14762 | 34 cp -a $install/etc $fs |
pascal@14762 | 35 } |