wok-6.x view vzquota/receipt @ rev 21787
voxelands: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 24 14:51:54 2019 +0200 (2019-07-24) |
parents | 2a21689b0af7 |
children | 0ace59cae29d |
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 sed -i 's|uname -m|echo i486|' src/Makefile
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 }