wok view vzquota/receipt @ rev 8852

Updated mirror-tools to use slitaz-dev-tools.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Feb 25 00:34:53 2011 +0000 (2011-02-25)
parents 756516242df3
children 3758381d47af
line source
1 # SliTaz package receipt.
3 PACKAGE="vzquota"
4 VERSION="3.0.12"
5 CATEGORY="systzm-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 }