wok-stable rev 12339

nimrod: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 24 11:37:28 2012 +0200 (2012-09-24)
parents 2c4bc63f4e6d
children 839bfb8d917f
files nimrod/receipt
line diff
     1.1 --- a/nimrod/receipt	Mon Sep 24 09:13:21 2012 +0200
     1.2 +++ b/nimrod/receipt	Mon Sep 24 11:37:28 2012 +0200
     1.3 @@ -15,19 +15,21 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 +	sed -i 's/uname -m/echo i486/' build.sh
     1.8  	chmod +x build.sh
     1.9  	chmod +x install.sh
    1.10  	./build.sh
    1.11  	./bin/nimrod c -d:release koch
    1.12  	./koch boot -d:release
    1.13 -	./install.sh /usr/bin
    1.14 +	./install.sh $DESTDIR
    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/usr/bin $fs/usr
    1.21 -	cp -a $_pkg/etc $fs/etc
    1.22 -	cp -a $_pkg/usr/lib $fs/usr
    1.23 -	cp -a $_pkg/usr/share $fs/usr
    1.24 +	mkdir -p $fs/usr/share/nimrod $fs/usr/lib
    1.25 +	cp -a $_pkg/nimrod/bin $fs/usr
    1.26 +	cp -a $_pkg/nimrod/config $fs/etc
    1.27 +	cp -a $_pkg/nimrod/lib $fs/usr/lib/nimrod
    1.28 +	cp -a $_pkg/nimrod/doc $fs/usr/share/nimrod
    1.29  }