wok diff sqlite/receipt @ rev 9208
libtaz: Use VERSION.tar.bz2 in WGET_URL instead of 1.0.4.tar.bz2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Mar 10 22:07:50 2011 +0000 (2011-03-10) |
parents | 38fade343837 |
children | 3ad02cc229e4 |
line diff
1.1 --- a/sqlite/receipt Sat Feb 19 21:49:37 2011 +0100 1.2 +++ b/sqlite/receipt Thu Mar 10 22:07:50 2011 +0000 1.3 @@ -16,7 +16,6 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - src=$WOK/$PACKAGE/$PACKAGE-src-${_amalgamationver} 1.8 cd $src 1.9 1.10 ./configure \ 1.11 @@ -38,14 +37,16 @@ 1.12 sed -i -e 's!lempar.c!/usr/share/lemon/lempar.c!' lemon.c 1.13 echo -n "Compiling lemon..." 1.14 gcc -o lemon lemon.c && status 1.15 - 1.16 + mkdir -p $PWD/_pkg/usr/share/lemon 1.17 + cp -a $src/lemon $PWD/_pkg/usr/bin 1.18 + cp -a $src/lempar.c $PWD/_pkg/usr/share/lemon 1.19 } 1.20 1.21 # Rules to gen a SliTaz package suitable for Tazpkg. 1.22 genpkg_rules() 1.23 { 1.24 - _pkg=$WOK/$PACKAGE/$PACKAGE-src-${_amalgamationver}/_pkg 1.25 mkdir -p $fs/usr 1.26 1.27 cp -a $_pkg/usr/bin $fs/usr 1.28 + [ -f $fs/usr/bin/lemon ] && rm -f $fs/usr/bin/lemon 1.29 }