wok view vzquota/receipt @ rev 19714

fix gnet
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 15 22:43:34 2017 +0100 (2017-02-15)
parents 940b5937e496
children 3705d68ed8f3
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 }