wok-6.x diff libao/receipt @ rev 15805

bash: prevent rm .bashrc error when removing bash
author Richard Dunbar <mojo@slitaz.org>
date Thu Jan 23 13:38:58 2014 +0000 (2014-01-23)
parents 54ce68091a85
children c35d5f7526ad
line diff
     1.1 --- a/libao/receipt	Thu Aug 02 18:28:35 2012 +0100
     1.2 +++ b/libao/receipt	Thu Jan 23 13:38:58 2014 +0000
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="multimedia"
     1.5  SHORT_DESC="Cross-platform audio output library and plugins"
     1.6  MAINTAINER="rj.rohit@gmail.com"
     1.7 -DEPENDS="glibc-base alsa-lib"
     1.8 -BUILD_DEPENDS="alsa-lib-dev"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.11  WEB_SITE="http://downloads.xiph.org/releases/ao/" 
    1.12  WGET_URL="$WEB_SITE/$TARBALL"
    1.13  
    1.14 +DEPENDS="glibc-base alsa-lib"
    1.15 +BUILD_DEPENDS="alsa-lib-dev"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 @@ -18,15 +20,15 @@
    1.21  	./configure --prefix=/usr --enable-alsa09 --disable-arts \
    1.22  		$CONFIGURE_ARGS &&
    1.23  	make &&
    1.24 -	make DESTDIR=$PWD/_pkg install
    1.25 +	make DESTDIR=$DESTDIR install
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31  	mkdir -p $fs/usr/lib $fs/etc
    1.32 -	cp -a $_pkg/usr/lib/ao $fs/usr/lib
    1.33 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.34 +	cp -a $install/usr/lib/ao $fs/usr/lib
    1.35 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.36  	
    1.37  	# Add conf file
    1.38  	cp -a stuff/libao.conf $fs/etc/