wok-next rev 18835
Lighten megatools
author | Lucas Levrel <llevrel@yahoo.fr> |
---|---|
date | Tue Jan 19 21:01:01 2016 +0100 (2016-01-19) |
parents | 5c4ebc8de350 |
children | c0ad10db4140 |
files | megatools/receipt |
line diff
1.1 --- a/megatools/receipt Mon Jan 18 22:23:53 2016 +0100 1.2 +++ b/megatools/receipt Tue Jan 19 21:01:01 2016 +0100 1.3 @@ -16,12 +16,14 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - ./configure $CONFIGURE_ARGS && make && make install 1.8 + ./configure $CONFIGURE_ARGS --disable-static \ 1.9 + && make && make install 1.10 } 1.11 1.12 # Rules to gen a SliTaz package suitable for Tazpkg. 1.13 genpkg_rules() 1.14 { 1.15 cp -a $install/* $fs 1.16 - rm -r $fs/usr/share 1.17 + # upstream info: lib is deprecated; remove .h .pc .la 1.18 + rm -r $fs/usr/share $fs/usr/lib/pkgconfig $fs/usr/lib/*a $fs/usr/include 1.19 }