wok-6.x annotate libao/receipt @ rev 11453
Up: ntop (4.1.0)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Dec 17 11:15:42 2011 +0100 (2011-12-17) |
parents | |
children | b7319995b37e |
rev | line source |
---|---|
jozee@2661 | 1 # SliTaz package receipt. |
jozee@2661 | 2 |
jozee@2661 | 3 PACKAGE="libao" |
jozee@2661 | 4 VERSION="0.8.8" |
jozee@2661 | 5 CATEGORY="multimedia" |
jozee@2661 | 6 SHORT_DESC="Cross-platform audio output library and plugins" |
jozee@2661 | 7 MAINTAINER="rj.rohit@gmail.com" |
jozee@2661 | 8 DEPENDS="glibc-base alsa-lib" |
jozee@2661 | 9 BUILD_DEPENDS="alsa-lib-dev" |
jozee@2661 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2661 | 11 WEB_SITE="http://downloads.xiph.org/releases/ao/" |
jozee@2661 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
jozee@2661 | 13 |
jozee@2661 | 14 # Rules to configure and make the package. |
jozee@2661 | 15 compile_rules() |
jozee@2661 | 16 { |
jozee@2661 | 17 cd $src |
jozee@2661 | 18 ./configure --prefix=/usr --enable-alsa09 --disable-arts |
jozee@2661 | 19 make |
jozee@2661 | 20 make DESTDIR=$PWD/_pkg install |
jozee@2661 | 21 } |
jozee@2661 | 22 |
jozee@2661 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2661 | 24 genpkg_rules() |
jozee@2661 | 25 { |
jozee@2661 | 26 mkdir -p $fs/usr/lib $fs/etc |
jozee@2661 | 27 cp -a $_pkg/usr/lib/ao $fs/usr/lib |
jozee@2661 | 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
jozee@2661 | 29 |
jozee@2661 | 30 # Add conf file |
jozee@2661 | 31 cp -a stuff/libao.conf $fs/etc/ |
jozee@2661 | 32 |
jozee@2661 | 33 } |