wok-current rev 16111
Why on ARM mpg123 install plugins in /usr/lib/mpg123 but not on i486 but it works...
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 20 23:46:48 2014 +0100 (2014-03-20) |
parents | b5fd8eaca2f3 |
children | 4eb561fa0e5d |
files | mpg123-dev/receipt mpg123/receipt |
line diff
1.1 --- a/mpg123-dev/receipt Thu Mar 20 22:46:06 2014 +0100 1.2 +++ b/mpg123-dev/receipt Thu Mar 20 23:46:48 2014 +0100 1.3 @@ -18,5 +18,10 @@ 1.4 mkdir -p $fs/usr/lib 1.5 cp -a $install/usr/include $fs/usr 1.6 cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.7 + cp -a $install/usr/lib/*.la $fs/usr/lib 1.8 + # ARM 1.9 + if [ -d "$install/usr/lib/mpg123" ]; then 1.10 + cp -a $install/usr/lib/mpg123 $fs/usr/lib 1.11 + find $fs/usr/lib -name "*.so" -exec rm -f {} \; 1.12 + fi 1.13 } 1.14 -
2.1 --- a/mpg123/receipt Thu Mar 20 22:46:06 2014 +0100 2.2 +++ b/mpg123/receipt Thu Mar 20 23:46:48 2014 +0100 2.3 @@ -18,19 +18,20 @@ 2.4 compile_rules() 2.5 { 2.6 ./configure \ 2.7 - --prefix=/usr \ 2.8 - --mandir=/usr/share/man \ 2.9 --with-default-audio=alsa \ 2.10 $CONFIGURE_ARGS && 2.11 - make && 2.12 - make install 2.13 + make && make install 2.14 } 2.15 2.16 # Rules to gen a SliTaz package suitable for Tazpkg. 2.17 genpkg_rules() 2.18 { 2.19 - # mpg123 needs the plugins libtool library file (.la) to work. 2.20 mkdir -p $fs/usr/lib 2.21 cp -a $install/usr/lib/*.so* $fs/usr/lib 2.22 cp -a $install/usr/bin $fs/usr 2.23 + # ARM 2.24 + if [ -d "$install/usr/lib/mpg123" ]; then 2.25 + cp -a $install/usr/lib/mpg123 $fs/usr/lib 2.26 + find $fs/usr/lib -name "*.la" -exec rm -f {} \; 2.27 + fi 2.28 }