wok view vzquota/receipt @ rev 22607
updated claws-mail-tnefparse (3.9.3 -> 3.17.4)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 09 16:57:59 2020 +0100 (2020-01-09) |
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 }