wok view vzquota/receipt @ rev 25517
updated gvim 8.2 -> 9.0.0133
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 23 10:53:50 2023 +0100 (21 months ago) |
parents | c1e7c7ea9c19 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="vzquota"
4 VERSION="3.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Virtuozzo/OpenVZ disk quota control utility"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://openvz.org"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://download.openvz.org/utils/$PACKAGE/$VERSION/src/$TARBALL"
14 DEPENDS=""
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - http://download.openvz.org/utils/$PACKAGE/ 2>/dev/null | \
20 sed '/href="[0-9]/!d;s|.*href="||;s|/.*||' | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|uname -m|echo i486|' src/Makefile
28 # Apply patches
29 # while read patch_file; do
30 # if [ -f done.$patch_file ]; then
31 # echo "Skipping $patch_file"
32 # continue
33 # fi
34 # echo "Apply $patch_file"
35 # patch -p1 < $stuff/$patch_file || return 1
36 # touch done.$patch_file
37 # done <<EOT
38 #vzquota-${VERSION}.u
39 #EOT
41 patch --input=$stuff/patches/Makefile-3.1 \
42 src/Makefile
43 export INSTALL=install
45 make &&
46 make DESTDIR=$DESTDIR install
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 mkdir -p $fs/usr
53 mkdir -p $fs/var/lib/vzquota
55 cp -a $install/usr/sbin $fs/usr
56 }