wok-current view vzquota/receipt @ rev 23856
codeblocks: use wxWidgets and gcc49
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Jun 16 23:39:15 2020 -0400 (2020-06-16) |
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 }