wok-6.x diff gen-init-cpio/receipt @ rev 15057
codiad: use config.example.php
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 10:34:38 2013 +0000 (2013-08-13) |
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 Tue Aug 13 10:34:38 2013 +0000 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 +}