wok-4.x rev 9785

gen-init-cpio: fix build
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 12 15:15:03 2011 +0200 (2011-05-12)
parents 42d11b97bb3a
children e1bff384cd9d
files gen-init-cpio/receipt
line diff
     1.1 --- a/gen-init-cpio/receipt	Wed May 11 23:32:39 2011 +0200
     1.2 +++ b/gen-init-cpio/receipt	Thu May 12 15:15:03 2011 +0200
     1.3 @@ -16,15 +16,13 @@
     1.4  
     1.5  compile_rules()
     1.6  {
     1.7 -  mkdir -p $PACKAGE-$VERSION
     1.8 -  cp -f stuff/* $PACKAGE-$VERSION
     1.9 -  cd $PACKAGE-$VERSION
    1.10 -  make 
    1.11 -  make DESTDIR=$PWD/_pkg install
    1.12 +	cd $stuff
    1.13 +	make && make DESTDIR=$DESTDIR install &&
    1.14 +	rm gen_init_cpio *.o
    1.15  }
    1.16  
    1.17  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.18  genpkg_rules()
    1.19  {
    1.20 -	cp -a $_pkg/sbin $fs
    1.21 -}
    1.22 \ No newline at end of file
    1.23 +	cp -a $install/sbin $fs
    1.24 +}