wok-6.x diff airoscript-ng/receipt @ rev 9022

geeqie: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 03 21:37:04 2011 +0100 (2011-03-03)
parents 0a0fb13a2e64
children 01a07ddd852f
line diff
     1.1 --- a/airoscript-ng/receipt	Sun Dec 05 19:48:24 2010 +0000
     1.2 +++ b/airoscript-ng/receipt	Thu Mar 03 21:37:04 2011 +0100
     1.3 @@ -14,23 +14,21 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	src=$WOK/$PACKAGE/${SOURCE%-ng}
     1.8  	cd $src
     1.9 -	patch -Np0 -i ../stuff/path.patch
    1.10 -	patch -Np0 -i ../stuff/makefile.patch
    1.11 -	make -j1 prefix=$PWD/_pkg/usr install
    1.12 +	patch -Np0 -i $stuff/path.patch
    1.13 +	patch -Np0 -i $stuff/makefile.patch
    1.14 +	make -j1 prefix=$DESTDIR/usr install
    1.15  }
    1.16  
    1.17  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.18  genpkg_rules()
    1.19  {
    1.20 -	_pkg=$WOK/$PACKAGE/Airoscript/_pkg
    1.21  	mkdir -p $fs/usr/share
    1.22  	cp -a $_pkg/usr/sbin $fs/usr
    1.23  	cp -a $_pkg/usr/share/airoscript-ng $fs/usr/share
    1.24  	cp -a $_pkg/usr/etc $fs/etc
    1.25  	mv $fs/etc/screenrc $fs/usr/share/airoscript-ng/
    1.26  	cd $fs/etc
    1.27 -	patch -Np0 -i $WOK/$PACKAGE/stuff/config.patch
    1.28 +	patch -Np0 -i $stuff/config.patch
    1.29  }
    1.30