wok diff airoscript-ng/receipt @ rev 12831

elfutils: cross-compile for ARM
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 22 16:24:28 2012 +0200 (2012-05-22)
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	Tue May 22 16:24:28 2012 +0200
     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