wok-6.x annotate vzquota/receipt @ rev 23728
updated vzquota (3.0.12 -> 3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 01 06:58:50 2020 +0100 (2020-05-01) |
parents | 3705d68ed8f3 |
children | c1e7c7ea9c19 |
rev | line source |
---|---|
erjo@8057 | 1 # SliTaz package receipt. |
erjo@8057 | 2 |
erjo@8057 | 3 PACKAGE="vzquota" |
Hans-G?nter@23728 | 4 VERSION="3.1" |
slaxemulator@8857 | 5 CATEGORY="system-tools" |
erjo@8057 | 6 SHORT_DESC="Virtuozzo/OpenVZ disk quota control utility" |
erjo@8057 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15363 | 8 LICENSE="GPL2" |
Hans-G?nter@23728 | 9 WEB_SITE="https://openvz.org" |
Hans-G?nter@23728 | 10 |
erjo@8057 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@8057 | 12 WGET_URL="http://download.openvz.org/utils/$PACKAGE/$VERSION/src/$TARBALL" |
erjo@8057 | 13 |
pascal@15363 | 14 DEPENDS="" |
pascal@15363 | 15 |
erjo@8057 | 16 # Rules to configure and make the package. |
erjo@8057 | 17 compile_rules() |
erjo@8057 | 18 { |
pascal@20212 | 19 sed -i 's|uname -m|echo i486|' src/Makefile |
Hans-G?nter@23728 | 20 |
erjo@8057 | 21 # Apply patches |
Hans-G?nter@23728 | 22 # while read patch_file; do |
Hans-G?nter@23728 | 23 # if [ -f done.$patch_file ]; then |
Hans-G?nter@23728 | 24 # echo "Skipping $patch_file" |
Hans-G?nter@23728 | 25 # continue |
Hans-G?nter@23728 | 26 # fi |
Hans-G?nter@23728 | 27 # echo "Apply $patch_file" |
Hans-G?nter@23728 | 28 # patch -p1 < $stuff/$patch_file || return 1 |
Hans-G?nter@23728 | 29 # touch done.$patch_file |
Hans-G?nter@23728 | 30 # done <<EOT |
Hans-G?nter@23728 | 31 #vzquota-${VERSION}.u |
Hans-G?nter@23728 | 32 #EOT |
erjo@8057 | 33 |
Hans-G?nter@23728 | 34 patch --input=$stuff/patches/Makefile-3.1 \ |
Hans-G?nter@23728 | 35 src/Makefile |
Hans-G?nter@23728 | 36 |
Hans-G?nter@23728 | 37 make && |
Hans-G?nter@23728 | 38 make DESTDIR=$DESTDIR install |
erjo@8057 | 39 } |
erjo@8057 | 40 |
erjo@8057 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@8057 | 42 genpkg_rules() |
erjo@8057 | 43 { |
Hans-G?nter@23728 | 44 mkdir -p $fs/usr |
Hans-G?nter@23728 | 45 mkdir -p $fs/var/lib/vzquota |
Hans-G?nter@23728 | 46 |
Hans-G?nter@23728 | 47 cp -a $install/usr/sbin $fs/usr |
erjo@8057 | 48 } |