wok view libao/receipt @ rev 16196
Up: opus (1.1)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Mar 30 21:06:17 2014 +0000 (2014-03-30) |
parents | 4904e3d374a9 |
children | e1ee172acb7b |
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/ao/plugins-4 $fs/etc
30 cp -a $install/usr/lib/ao/plugins-4/*.so $fs/usr/lib/ao/plugins-4
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 # Add conf file
34 cp -a $stuff/libao.conf $fs/etc/
36 }