wok-next view vzquota/receipt @ rev 16747

Up: bluefish (2.2.5)
author Alexander Medvedev <devl547@gmail.com>
date Sat Jun 14 19:43:22 2014 +0000 (2014-06-14)
parents 940b5937e496
children d6378d455338
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 LICENSE="GPL2"
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 DEPENDS=""
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 # Apply patches
20 while read patch_file; do
21 if [ -f done.$patch_file ]; then
22 echo "Skipping $patch_file"
23 continue
24 fi
25 echo "Apply $patch_file"
26 patch -p1 < $stuff/$patch_file || return 1
27 touch done.$patch_file
28 done <<EOT
29 vzquota-${VERSION}.u
30 EOT
32 make && make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr $fs/var/lib/vzquota
39 cp -a $install/usr/sbin $fs/usr
40 }