wok annotate vzquota/receipt @ rev 23954

updated smplayer (20.4.2 -> 20.6.0)
author Hans-G?nter Theisgen
date Tue Sep 22 17:05:06 2020 +0100 (2020-09-22)
parents 0ace59cae29d
children 89c8d8b6cf48
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@23729 36 export INSTALL=install
Hans-G?nter@23728 37
Hans-G?nter@23728 38 make &&
Hans-G?nter@23728 39 make DESTDIR=$DESTDIR install
erjo@8057 40 }
erjo@8057 41
erjo@8057 42 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@8057 43 genpkg_rules()
erjo@8057 44 {
Hans-G?nter@23728 45 mkdir -p $fs/usr
Hans-G?nter@23728 46 mkdir -p $fs/var/lib/vzquota
Hans-G?nter@23728 47
Hans-G?nter@23728 48 cp -a $install/usr/sbin $fs/usr
erjo@8057 49 }