wok-6.x rev 1135

giblib-dev, giblib: fix receipts
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 24 08:08:27 2008 +0000 (2008-07-24)
parents 30f642df947e
children 8c8d1dfb63df
files giblib-dev/receipt giblib/receipt
line diff
     1.1 --- a/giblib-dev/receipt	Thu Jul 24 01:01:10 2008 +0200
     1.2 +++ b/giblib-dev/receipt	Thu Jul 24 08:08:27 2008 +0000
     1.3 @@ -8,18 +8,10 @@
     1.4  WANTED="giblib"
     1.5  WEB_SITE="http://linuxbrit.co.uk/feh/"
     1.6  
     1.7 -
     1.8 -# Rules to configure and make the package.
     1.9 -compile_rules()
    1.10 -{
    1.11 -	cd $src
    1.12 -	./configure --prefix=/usr
    1.13 -	make
    1.14 -}
    1.15 -
    1.16  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.17  genpkg_rules()
    1.18  {
    1.19 -	mkdir -p $fs/usr/include
    1.20 +	mkdir -p $fs/usr/include $fs/usr/lib
    1.21  	cp -a $_pkg/usr/include $fs/usr
    1.22 +	cp -a $_pkg/usr/lib/*a $fs/usr/lib
    1.23  }
     2.1 --- a/giblib/receipt	Thu Jul 24 01:01:10 2008 +0200
     2.2 +++ b/giblib/receipt	Thu Jul 24 08:08:27 2008 +0000
     2.3 @@ -24,5 +24,7 @@
     2.4  genpkg_rules()
     2.5  {
     2.6  	mkdir -p $fs/usr
     2.7 -	cp -a $_pkg/usr/{bin,lib} $fs/usr
     2.8 +	cp -a $_pkg/usr/bin $fs/usr
     2.9 +	cp -a $_pkg/usr/lib $fs/usr
    2.10 +	rm -f $fs/usr/lib/*a
    2.11  }