wok-6.x diff gen-init-cpio/receipt @ rev 13782
Up tazpkg (5.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 04 17:20:57 2013 +0100 (2013-01-04) |
parents | f8a83f683e2d |
children | de49f29b101e |
line diff
1.1 --- a/gen-init-cpio/receipt Wed Apr 28 01:10:50 2010 +0000 1.2 +++ b/gen-init-cpio/receipt Fri Jan 04 17:20:57 2013 +0100 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 +}