wok-6.x diff libedit-dev/receipt @ rev 9760

libtaz: FIx tarball (missing $ before VERSION) but this pkg produce an unnamed archive in src/
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 11 15:11:32 2011 +0200 (2011-05-11)
parents a0629adf72c8
children 8387b6915400
line diff
     1.1 --- a/libedit-dev/receipt	Sun Aug 29 11:28:56 2010 +0200
     1.2 +++ b/libedit-dev/receipt	Wed May 11 15:11:32 2011 +0200
     1.3 @@ -12,17 +12,8 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	src=$WOK/$WANTED/$SOURCE-$VERSION
     1.8 -	_pkg=$src/_pkg
     1.9 -	echo "src=$src"
    1.10  	mkdir -p $fs/usr $fs/usr/lib
    1.11 -    cp -a $_pkg/usr/include $fs/usr
    1.12 -    cp -a $_pkg/usr/lib/*a $fs/usr/lib
    1.13 -	cp -a $_pkg//usr/lib/pkgconfig $fs/usr/lib
    1.14 +	cp -a $_pkg/usr/include $fs/usr
    1.15 +	cp -a $_pkg/usr/lib/*a $fs/usr/lib
    1.16 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.17  }
    1.18 -
    1.19 -post_remove()
    1.20 -{
    1.21 -	rm -rf /usr/lib/pkgconfig
    1.22 -	rm -rf /usr/include/editline
    1.23 -}