wok-undigest rev 202

Fix: build issue
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Jan 02 22:33:16 2011 +0100 (2011-01-02)
parents 7a5e5ac499e8
children 190e7a5ec1e6
files vzquota/receipt
line diff
     1.1 --- a/vzquota/receipt	Sun Jan 02 22:25:36 2011 +0100
     1.2 +++ b/vzquota/receipt	Sun Jan 02 22:33:16 2011 +0100
     1.3 @@ -14,13 +14,26 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 +	# Apply patches
     1.8 +	while read patch_file; do
     1.9 +		if [ -f done.$patch_file ]; then
    1.10 +			echo "Skipping $patch_file"
    1.11 +			continue
    1.12 +		fi
    1.13 +		echo "Apply $patch_file"
    1.14 +		patch -p1 < ../stuff/$patch_file || exit 1
    1.15 +		touch done.$patch_file
    1.16 +	done <<EOT
    1.17 +vzquota-${VERSION}.u
    1.18 +EOT
    1.19 +
    1.20  	make && make DESTDIR=$PWD/_pkg install
    1.21  }
    1.22  
    1.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.24  genpkg_rules()
    1.25  {
    1.26 -	mkdir -p $fs/usr $fs/var/vzquota
    1.27 +	mkdir -p $fs/usr $fs/var/lib/vzquota
    1.28  	cp -a $_pkg/usr/sbin $fs/usr
    1.29  }
    1.30