wok annotate vzquota/receipt @ rev 9568

Up: lftp to 4.2.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Apr 11 23:09:40 2011 +0000 (2011-04-11)
parents 3758381d47af
children 2a21689b0af7
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"
erjo@8057 8 DEPENDS=""
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
erjo@8057 13 # Rules to configure and make the package.
erjo@8057 14 compile_rules()
erjo@8057 15 {
erjo@8057 16 cd $src
erjo@8057 17 # Apply patches
erjo@8057 18 while read patch_file; do
erjo@8057 19 if [ -f done.$patch_file ]; then
erjo@8057 20 echo "Skipping $patch_file"
erjo@8057 21 continue
erjo@8057 22 fi
erjo@8057 23 echo "Apply $patch_file"
pascal@8974 24 patch -p1 < $stuff/$patch_file || return 1
erjo@8057 25 touch done.$patch_file
erjo@8057 26 done <<EOT
erjo@8057 27 vzquota-${VERSION}.u
erjo@8057 28 EOT
erjo@8057 29
erjo@8057 30 make && make DESTDIR=$PWD/_pkg install
erjo@8057 31 }
erjo@8057 32
erjo@8057 33 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@8057 34 genpkg_rules()
erjo@8057 35 {
erjo@8057 36 mkdir -p $fs/usr $fs/var/lib/vzquota
erjo@8057 37 cp -a $_pkg/usr/sbin $fs/usr
erjo@8057 38 }
erjo@8057 39