wok diff mpg123/receipt @ rev 16351
ARM: add slitaz-arm-codex (0.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 13 03:31:47 2014 +0200 (2014-04-13) |
parents | b5fd8eaca2f3 |
children | ccb0dea76bf8 |
line diff
1.1 --- a/mpg123/receipt Thu Mar 20 22:46:06 2014 +0100 1.2 +++ b/mpg123/receipt Sun Apr 13 03:31:47 2014 +0200 1.3 @@ -18,19 +18,20 @@ 1.4 compile_rules() 1.5 { 1.6 ./configure \ 1.7 - --prefix=/usr \ 1.8 - --mandir=/usr/share/man \ 1.9 --with-default-audio=alsa \ 1.10 $CONFIGURE_ARGS && 1.11 - make && 1.12 - make install 1.13 + make && make install 1.14 } 1.15 1.16 # Rules to gen a SliTaz package suitable for Tazpkg. 1.17 genpkg_rules() 1.18 { 1.19 - # mpg123 needs the plugins libtool library file (.la) to work. 1.20 mkdir -p $fs/usr/lib 1.21 cp -a $install/usr/lib/*.so* $fs/usr/lib 1.22 cp -a $install/usr/bin $fs/usr 1.23 + # ARM 1.24 + if [ -d "$install/usr/lib/mpg123" ]; then 1.25 + cp -a $install/usr/lib/mpg123 $fs/usr/lib 1.26 + find $fs/usr/lib -name "*.la" -exec rm -f {} \; 1.27 + fi 1.28 }