wok annotate libao/receipt @ rev 12795

slitaz-base-files: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 18 09:43:02 2012 +0200 (2012-05-18)
parents 37cd2a99997f
children 54ce68091a85
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
gokhlayeh@11573 18 ./configure --prefix=/usr --enable-alsa09 --disable-arts \
gokhlayeh@11573 19 $CONFIGURE_ARGS &&
gokhlayeh@11573 20 make &&
jozee@2661 21 make DESTDIR=$PWD/_pkg install
jozee@2661 22 }
jozee@2661 23
jozee@2661 24 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2661 25 genpkg_rules()
jozee@2661 26 {
jozee@2661 27 mkdir -p $fs/usr/lib $fs/etc
jozee@2661 28 cp -a $_pkg/usr/lib/ao $fs/usr/lib
jozee@2661 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
jozee@2661 30
jozee@2661 31 # Add conf file
jozee@2661 32 cp -a stuff/libao.conf $fs/etc/
jozee@2661 33
jozee@2661 34 }