wok diff mpg123/receipt @ rev 4481

linux: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 14 15:44:04 2009 +0100 (2009-11-14)
parents 2ff1cea175be
children 43851b0813ec
line diff
     1.1 --- a/mpg123/receipt	Wed Apr 22 13:49:02 2009 +0200
     1.2 +++ b/mpg123/receipt	Sat Nov 14 15:44:04 2009 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="mpg123"
     1.7 -VERSION="1.7.2"
     1.8 +VERSION="1.8.0"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="Command line audi player and streamer"
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 @@ -10,7 +10,6 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14  WEB_SITE="http://www.mpg123.de/"
    1.15  WGET_URL="http://www.mpg123.de/download/$TARBALL"
    1.16 -HANDBOOK_URL='http://www.slitaz.org/doc/handbook/multimedia.html#mpg123'
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20 @@ -19,9 +18,7 @@
    1.21  	./configure \
    1.22  		--prefix=/usr \
    1.23  		--mandir=/usr/share/man \
    1.24 -		--with-audio=alsa \
    1.25 -		--with-default-audio=alsa \
    1.26 -		--with-seektable=0 \
    1.27 +		--with-audio="alsa" \
    1.28  		$CONFIGURE_ARGS &&
    1.29  	make &&
    1.30  	make DESTDIR=$PWD/_pkg install
    1.31 @@ -30,9 +27,9 @@
    1.32  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.33  genpkg_rules()
    1.34  {
    1.35 -	mkdir -p $fs/usr/lib/mpg123
    1.36 +	# mpg123 need the plugins libtool library file (.la) to work.
    1.37 +	mkdir -p $fs/usr/lib
    1.38  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.39 -	cp -a $_pkg/usr/lib/mpg123/*.so* $fs/usr/lib/mpg123
    1.40 +	cp -a $_pkg/usr/lib/mpg123 $fs/usr/lib
    1.41  	cp -a $_pkg/usr/bin $fs/usr
    1.42  }
    1.43 -