wok-6.x annotate vzquota/receipt @ rev 16555
linux: update ATA config (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 30 11:54:39 2014 +0000 (2014-04-30) |
parents | 940b5937e496 |
children | 3705d68ed8f3 |
rev | line source |
---|---|
erjo@8057 | 1 # SliTaz package receipt. |
erjo@8057 | 2 |
erjo@8057 | 3 PACKAGE="vzquota" |
erjo@8057 | 4 VERSION="3.0.12" |
slaxemulator@8857 | 5 CATEGORY="system-tools" |
erjo@8057 | 6 SHORT_DESC="Virtuozzo/OpenVZ disk quota control utility" |
erjo@8057 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15363 | 8 LICENSE="GPL2" |
erjo@8057 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@8057 | 10 WEB_SITE="http://openvz.org" |
erjo@8057 | 11 WGET_URL="http://download.openvz.org/utils/$PACKAGE/$VERSION/src/$TARBALL" |
erjo@8057 | 12 |
pascal@15363 | 13 DEPENDS="" |
pascal@15363 | 14 |
erjo@8057 | 15 # Rules to configure and make the package. |
erjo@8057 | 16 compile_rules() |
erjo@8057 | 17 { |
erjo@8057 | 18 cd $src |
erjo@8057 | 19 # Apply patches |
erjo@8057 | 20 while read patch_file; do |
erjo@8057 | 21 if [ -f done.$patch_file ]; then |
erjo@8057 | 22 echo "Skipping $patch_file" |
erjo@8057 | 23 continue |
erjo@8057 | 24 fi |
erjo@8057 | 25 echo "Apply $patch_file" |
pascal@8974 | 26 patch -p1 < $stuff/$patch_file || return 1 |
erjo@8057 | 27 touch done.$patch_file |
erjo@8057 | 28 done <<EOT |
erjo@8057 | 29 vzquota-${VERSION}.u |
erjo@8057 | 30 EOT |
erjo@8057 | 31 |
pascal@15363 | 32 make && make DESTDIR=$DESTDIR install |
erjo@8057 | 33 } |
erjo@8057 | 34 |
erjo@8057 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@8057 | 36 genpkg_rules() |
erjo@8057 | 37 { |
erjo@8057 | 38 mkdir -p $fs/usr $fs/var/lib/vzquota |
pascal@15363 | 39 cp -a $install/usr/sbin $fs/usr |
erjo@8057 | 40 } |
erjo@8057 | 41 |