wok-next diff mpg123/receipt @ rev 16272

Up: wine, wine-rt (1.7.16). Fix: wine needs prelink at build-time
author Alexander Medvedev <devl547@gmail.com>
date Sat Apr 05 20:56:22 2014 +0000 (2014-04-05)
parents b5fd8eaca2f3
children ccb0dea76bf8
line diff
     1.1 --- a/mpg123/receipt	Thu Mar 20 22:46:06 2014 +0100
     1.2 +++ b/mpg123/receipt	Sat Apr 05 20:56:22 2014 +0000
     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  }