wok view vzquota/receipt @ rev 25672

Up minidlna (1.3.3), phpmyadmin (5.2.1), pidgin (2.14.13), redis (7.2.4), rsync (3.2.7), rust (1.76.0), screen (4.9.1), squashfs (4.6.1), squid (6.7), stunnel (5.72), tcpdump (4.99.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 26 14:07:44 2024 +0000 (8 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 }