wok-current diff nathive/receipt @ rev 12803
linux: dep on kmod for i486 and handle arm ARCH
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 19 00:04:09 2012 +0200 (2012-05-19) |
parents | bee79018e13a |
children | c10e7f955563 |
line diff
1.1 --- a/nathive/receipt Wed Feb 24 10:31:06 2010 +0000 1.2 +++ b/nathive/receipt Sat May 19 00:04:09 2012 +0200 1.3 @@ -12,11 +12,9 @@ 1.4 WGET_URL="$WEB_SITE/get/$TARBALL" 1.5 TAGS="image photo editor" 1.6 1.7 - 1.8 # Rules to configure and make the package. 1.9 compile_rules() 1.10 { 1.11 - src="$WOK/$PACKAGE/${PACKAGE}_${VERSION}_source" 1.12 cd $src 1.13 sed 's|"./"|"/usr/share/nathive/"|g' -i main.c 1.14 make 1.15 @@ -25,20 +23,19 @@ 1.16 # Rules to gen a SliTaz package suitable for Tazpkg. 1.17 genpkg_rules() 1.18 { 1.19 - mkdir -p $fs/usr/bin 1.20 - mkdir -p $fs/usr/share/nathive 1.21 + mkdir -p $fs/usr/bin 1.22 + mkdir -p $fs/usr/share/nathive 1.23 mkdir -p $fs/usr/share/applications 1.24 - _pkg="$WOK/$PACKAGE/${PACKAGE}_${VERSION}_source" 1.25 1.26 - cp -a $_pkg/nathive $fs/usr/bin 1.27 + cp -a $src/nathive $fs/usr/bin 1.28 1.29 - cp -a $_pkg/cfg/ $_pkg/img/ $_pkg/palettes/ $_pkg/text/ $fs/usr/share/nathive/ 1.30 + cp -a $src/cfg/ $src/img/ $src/palettes/ $src/text/ $fs/usr/share/nathive/ 1.31 #copy locale : it only adds 4k 1.32 - cp -a $_pkg/lang/ $fs/usr/share/nathive/ 1.33 + cp -a $src/lang/ $fs/usr/share/nathive/ 1.34 # change owner and permissions 1.35 chown -R root.root $fs/usr/share/nathive 1.36 chmod -R 0755 $fs/usr/share/nathive 1.37 1.38 - cp -a stuff/nathive.desktop $fs/usr/share/applications 1.39 + cp -a $stuff/nathive.desktop $fs/usr/share/applications 1.40 1.41 }