wok rev 19729

libwmf: no cp + wildcard + absolute links
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 17 08:27:26 2017 +0100 (2017-02-17)
parents b1b4124be3fb
children a12efd5783ec
files libwmf-dev/receipt libwmf/receipt
line diff
     1.1 --- a/libwmf-dev/receipt	Fri Feb 17 07:56:36 2017 +0100
     1.2 +++ b/libwmf-dev/receipt	Fri Feb 17 08:27:26 2017 +0100
     1.3 @@ -14,10 +14,14 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $fs/usr/lib/gtk-2.0/loaders 
     1.8 -	cp -a $install/usr/lib/*.*a $fs/usr/lib/
     1.9 -	cp -a $install/usr/lib/gtk-2.0/loaders/*.*a $fs/usr/lib/gtk-2.0/loaders/
    1.10 +	mkdir -p $fs/usr/lib
    1.11  	cp -a $install/usr/include $fs/usr
    1.12 +	cp -a $install/usr/lib $fs/usr/                                                 
    1.13 +	find $fs/usr/ | while read f ; do
    1.14 +		case "$f" in
    1.15 +		*so.*) rm -f $f
    1.16 +		esac
    1.17 +	done
    1.18  }
    1.19  
    1.20  
     2.1 --- a/libwmf/receipt	Fri Feb 17 07:56:36 2017 +0100
     2.2 +++ b/libwmf/receipt	Fri Feb 17 08:27:26 2017 +0100
     2.3 @@ -26,9 +26,13 @@
     2.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.5  genpkg_rules()
     2.6  {
     2.7 -	mkdir -p $fs/usr/share/libwmf $fs/usr/lib/gtk-2.0/loaders
     2.8 +	mkdir -p $fs/usr/share/libwmf $fs/usr/lib
     2.9  	cp -a $install/usr/bin $fs/usr/
    2.10  	cp -a $install/usr/share/libwmf/fonts $fs/usr/share/libwmf/
    2.11 -	cp -a $install/usr/lib/*.so* $fs/usr/lib/
    2.12 -	cp -a $install/usr/lib/gtk-2.0/loaders/*.so* $fs/usr/lib/gtk-2.0/loaders/
    2.13 +	cp -a $install/usr/lib $fs/usr/                                                 
    2.14 +	find $fs/usr/ | while read f ; do
    2.15 +		case "$f" in
    2.16 +		*a) rm -f $f
    2.17 +		esac
    2.18 +	done
    2.19  }