wok rev 15894
libnl: remove devel files (save space on ISO)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 12 22:53:55 2014 +0100 (2014-02-12) |
parents | c35d5f7526ad |
children | 1c56350ea155 |
files | libnl-dev/receipt libnl/receipt |
line diff
1.1 --- a/libnl-dev/receipt Wed Feb 12 22:53:32 2014 +0100 1.2 +++ b/libnl-dev/receipt Wed Feb 12 22:53:55 2014 +0100 1.3 @@ -13,7 +13,10 @@ 1.4 # Rules to gen a SliTaz package suitable for Tazpkg. 1.5 genpkg_rules() 1.6 { 1.7 - mkdir -p $fs/usr 1.8 + mkdir -p $fs/usr/lib 1.9 cp -a $install/usr/include $fs/usr 1.10 + cp -a $install/usr/lib/*.*a $fs/usr/lib 1.11 + cp -a $install/usr/lib/libnl $fs/usr/lib 1.12 + find $fs/usr/lib -type f -name "*.so" -exec rm -f {} \; 1.13 } 1.14
2.1 --- a/libnl/receipt Wed Feb 12 22:53:32 2014 +0100 2.2 +++ b/libnl/receipt Wed Feb 12 22:53:55 2014 +0100 2.3 @@ -22,6 +22,8 @@ 2.4 # Rules to gen a SliTaz package suitable for Tazpkg. 2.5 genpkg_rules() 2.6 { 2.7 - mkdir -p $fs/usr 2.8 - cp -a $install/usr/lib $fs/usr 2.9 + mkdir -p $fs/usr/lib 2.10 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.11 + cp -a $install/usr/lib/libnl $fs/usr/lib 2.12 + find $fs/usr/lib -type f -name "*.a*" -exec rm -f {} \; 2.13 }