wok-4.x view vzquota/receipt @ rev 8938

masqmail, mplayer-svn, nagios-nrpe, notify-python, openvas-administrator, openvas-client, openvas-manager, openvas-scanner, perl-xml-entities, pgadmin, python-ipy: update BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 01 16:28:33 2011 +0100 (2011-03-01)
parents 0b4cf0d9e1b5
children 940b5937e496
line source
1 # SliTaz package receipt.
3 PACKAGE="vzquota"
4 VERSION="3.0.12"
5 CATEGORY="system-tools"
6 SHORT_DESC="Virtuozzo/OpenVZ disk quota control utility"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://openvz.org"
11 WGET_URL="http://download.openvz.org/utils/$PACKAGE/$VERSION/src/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 # Apply patches
18 while read patch_file; do
19 if [ -f done.$patch_file ]; then
20 echo "Skipping $patch_file"
21 continue
22 fi
23 echo "Apply $patch_file"
24 patch -p1 < ../stuff/$patch_file || return 1
25 touch done.$patch_file
26 done <<EOT
27 vzquota-${VERSION}.u
28 EOT
30 make && make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr $fs/var/lib/vzquota
37 cp -a $_pkg/usr/sbin $fs/usr
38 }