wok-current view vzquota/receipt @ rev 12950

libcanberra: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 31 10:19:28 2012 +0200 (2012-05-31)
parents 3758381d47af
children 2a21689b0af7
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 }