# HG changeset patch # User Rohit Joshi # Date 1240077572 0 # Node ID 37cd2a99997f9442af40a1d1c938d08fc5c7d361 # Parent 2a3ae5f7884707d28fcf44dea9d3c44909afbbea Add libao and libao-dev diff -r 2a3ae5f78847 -r 37cd2a99997f libao-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libao-dev/receipt Sat Apr 18 17:59:32 2009 +0000 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="libao-dev" +VERSION="0.8.8" +CATEGORY="development" +SHORT_DESC="libao devel files" +MAINTAINER="rj.rohit@gmail.com" +WANTED="libao" +WEB_SITE="http://downloads.xiph.org/releases/ao/" + + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/share + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr + cp -a $_pkg/usr/share/aclocal $fs/usr/share +} diff -r 2a3ae5f78847 -r 37cd2a99997f libao/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libao/receipt Sat Apr 18 17:59:32 2009 +0000 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="libao" +VERSION="0.8.8" +CATEGORY="multimedia" +SHORT_DESC="Cross-platform audio output library and plugins" +MAINTAINER="rj.rohit@gmail.com" +DEPENDS="glibc-base alsa-lib" +BUILD_DEPENDS="alsa-lib-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://downloads.xiph.org/releases/ao/" +WGET_URL="$WEB_SITE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --enable-alsa09 --disable-arts + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/etc + cp -a $_pkg/usr/lib/ao $fs/usr/lib + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + + # Add conf file + cp -a stuff/libao.conf $fs/etc/ + +} diff -r 2a3ae5f78847 -r 37cd2a99997f libao/stuff/libao.conf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libao/stuff/libao.conf Sat Apr 18 17:59:32 2009 +0000 @@ -0,0 +1,1 @@ +default_driver=alsa