wok-6.x view vzquota/receipt @ rev 23943

Up cryptsetup-dev (2.3.4), lzham_codec (1_0_stable1), slitaz-boot-scripts (466), tazlito (527)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 17 10:31:38 2020 +0000 (2020-09-17)
parents 0ace59cae29d
children 89c8d8b6cf48
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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|uname -m|echo i486|' src/Makefile
21 # Apply patches
22 # while read patch_file; do
23 # if [ -f done.$patch_file ]; then
24 # echo "Skipping $patch_file"
25 # continue
26 # fi
27 # echo "Apply $patch_file"
28 # patch -p1 < $stuff/$patch_file || return 1
29 # touch done.$patch_file
30 # done <<EOT
31 #vzquota-${VERSION}.u
32 #EOT
34 patch --input=$stuff/patches/Makefile-3.1 \
35 src/Makefile
36 export INSTALL=install
38 make &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr
46 mkdir -p $fs/var/lib/vzquota
48 cp -a $install/usr/sbin $fs/usr
49 }