wok diff alsaplayer/receipt @ rev 13902

foremost fix conf error message
author ernia
date Sun Jan 20 15:13:56 2013 +0000 (2013-01-20)
parents 03117e7655ff
children 2b9f96603415
line diff
     1.1 --- a/alsaplayer/receipt	Mon Nov 08 22:56:00 2010 +0000
     1.2 +++ b/alsaplayer/receipt	Sun Jan 20 15:13:56 2013 +0000
     1.3 @@ -5,13 +5,14 @@
     1.4  CATEGORY="multimedia"
     1.5  SHORT_DESC="Alsa GTK+ PCM player."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage"
     1.8 -BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev"
     1.9 -SUGGESTED="alsaplayer-scopes libid3tag"
    1.10 +SUGGESTED="alsaplayer-scopes libid3tag flac"
    1.11  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12  WEB_SITE="http://www.alsaplayer.org/"
    1.13  WGET_URL="http://www.alsaplayer.org/$TARBALL"
    1.14 -TAGS="music audio player mp3 ogg"
    1.15 +TAGS="music audio player mp3 ogg flac"
    1.16 +
    1.17 +DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage" 
    1.18 +BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev flac-dev"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22 @@ -23,14 +24,14 @@
    1.23  		--infodir=/usr/share/info \
    1.24  		--mandir=/usr/share/man \
    1.25  		--enable-gtk2 \
    1.26 -		--disable-flac \
    1.27 +		--enable-flac \
    1.28  		--disable-jack \
    1.29  		--disable-esd \
    1.30  		$CONFIGURE_ARGS &&
    1.31  	make &&
    1.32  	# Chmod install-sh to avoid install error.
    1.33  	chmod 755 install-sh &&
    1.34 -	make DESTDIR=$PWD/_pkg install
    1.35 +	make DESTDIR=$DESTDIR install
    1.36  }
    1.37  
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 @@ -38,9 +39,9 @@
    1.40  {
    1.41  	mkdir -p $fs/usr/lib
    1.42  
    1.43 -	cp -a $_pkg/usr/bin $fs/usr
    1.44 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.45 -	cp -a $_pkg/usr/lib/alsaplayer $fs/usr/lib
    1.46 +	cp -a $install/usr/bin $fs/usr
    1.47 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.48 +	cp -a $install/usr/lib/alsaplayer $fs/usr/lib
    1.49  
    1.50  	# Remove devel files and scopes.
    1.51  	rm $fs/usr/lib/alsaplayer/*/*.*a