wok view libao/receipt @ rev 14821

Add: libpthread-tubs-dev
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Jul 17 13:46:54 2013 +0200 (2013-07-17)
parents 54ce68091a85
children c35d5f7526ad
line source
1 # SliTaz package receipt.
3 PACKAGE="libao"
4 VERSION="1.1.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Cross-platform audio output library and plugins"
7 MAINTAINER="rj.rohit@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://downloads.xiph.org/releases/ao/"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 DEPENDS="glibc-base alsa-lib"
14 BUILD_DEPENDS="alsa-lib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --enable-alsa09 --disable-arts \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/etc
30 cp -a $install/usr/lib/ao $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 # Add conf file
34 cp -a stuff/libao.conf $fs/etc/
36 }