wok-current diff libao/receipt @ rev 8774
Fix: openal compile_rules()
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Feb 21 19:43:04 2011 +0100 (2011-02-21) |
parents | |
children | b7319995b37e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libao/receipt Mon Feb 21 19:43:04 2011 +0100 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libao" 1.7 +VERSION="0.8.8" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="Cross-platform audio output library and plugins" 1.10 +MAINTAINER="rj.rohit@gmail.com" 1.11 +DEPENDS="glibc-base alsa-lib" 1.12 +BUILD_DEPENDS="alsa-lib-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://downloads.xiph.org/releases/ao/" 1.15 +WGET_URL="$WEB_SITE/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure --prefix=/usr --enable-alsa09 --disable-arts 1.22 + make 1.23 + make DESTDIR=$PWD/_pkg install 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + mkdir -p $fs/usr/lib $fs/etc 1.30 + cp -a $_pkg/usr/lib/ao $fs/usr/lib 1.31 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.32 + 1.33 + # Add conf file 1.34 + cp -a stuff/libao.conf $fs/etc/ 1.35 + 1.36 +}