wok diff uclibc-cross-compiler-armv5l/receipt @ rev 10835
lua: improve receipt and build optimisation
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jun 08 23:16:35 2011 +0200 (2011-06-08) |
parents | 8da46cc14f57 |
children | d357d6dbbfa8 |
line diff
1.1 --- a/uclibc-cross-compiler-armv5l/receipt Sat Aug 14 14:20:45 2010 +0200 1.2 +++ b/uclibc-cross-compiler-armv5l/receipt Wed Jun 08 23:16:35 2011 +0200 1.3 @@ -10,18 +10,12 @@ 1.4 WEB_SITE="http://impactlinux.com/aboriginal" 1.5 WGET_URL="$WEB_SITE/downloads/binaries/$TARBALL" 1.6 1.7 -# Rules to configure and make the package. 1.8 -compile_rules() 1.9 -{ 1.10 - cd $SOURCE 1.11 -} 1.12 - 1.13 # Rules to gen a SliTaz package suitable for Tazpkg. 1.14 genpkg_rules() 1.15 { 1.16 mkdir -p $fs/usr/share $fs/usr/bin 1.17 - cp -a $SOURCE $fs/usr/share/$PACKAGE 1.18 - for i in $(cd $SOURCE ; ls bin/${PACKAGE##*-}-*); do 1.19 + cp -a $src $fs/usr/share/$PACKAGE 1.20 + for i in $(cd $src ; ls bin/${PACKAGE##*-}-*); do 1.21 file=$(basename $i) 1.22 ln -s ../share/$PACKAGE/bin/$file $fs/usr/bin/uclibc-$file 1.23 done