wok-current rev 2661
Add libao and libao-dev
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Sat Apr 18 17:59:32 2009 +0000 (2009-04-18) |
parents | 2a3ae5f78847 |
children | c61688e2231d |
files | libao-dev/receipt libao/receipt libao/stuff/libao.conf |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libao-dev/receipt Sat Apr 18 17:59:32 2009 +0000 1.3 @@ -0,0 +1,20 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libao-dev" 1.7 +VERSION="0.8.8" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="libao devel files" 1.10 +MAINTAINER="rj.rohit@gmail.com" 1.11 +WANTED="libao" 1.12 +WEB_SITE="http://downloads.xiph.org/releases/ao/" 1.13 + 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/lib $fs/usr/share 1.19 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.20 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.21 + cp -a $_pkg/usr/include $fs/usr 1.22 + cp -a $_pkg/usr/share/aclocal $fs/usr/share 1.23 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libao/receipt Sat Apr 18 17:59:32 2009 +0000 2.3 @@ -0,0 +1,33 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="libao" 2.7 +VERSION="0.8.8" 2.8 +CATEGORY="multimedia" 2.9 +SHORT_DESC="Cross-platform audio output library and plugins" 2.10 +MAINTAINER="rj.rohit@gmail.com" 2.11 +DEPENDS="glibc-base alsa-lib" 2.12 +BUILD_DEPENDS="alsa-lib-dev" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.14 +WEB_SITE="http://downloads.xiph.org/releases/ao/" 2.15 +WGET_URL="$WEB_SITE/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src 2.21 + ./configure --prefix=/usr --enable-alsa09 --disable-arts 2.22 + make 2.23 + make DESTDIR=$PWD/_pkg install 2.24 +} 2.25 + 2.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.27 +genpkg_rules() 2.28 +{ 2.29 + mkdir -p $fs/usr/lib $fs/etc 2.30 + cp -a $_pkg/usr/lib/ao $fs/usr/lib 2.31 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.32 + 2.33 + # Add conf file 2.34 + cp -a stuff/libao.conf $fs/etc/ 2.35 + 2.36 +}