wok-6.x view libao/receipt @ rev 19410

linld: shrink
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 21 11:29:01 2016 +0200 (2016-09-21)
parents c35d5f7526ad
children a78610b2eb47
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"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glibc-base alsa-lib"
15 BUILD_DEPENDS="alsa-lib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --enable-alsa09 \
22 --disable-arts \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib/ao/plugins-4 $fs/etc
31 cp -a $install/usr/lib/ao/plugins-4/*.so $fs/usr/lib/ao/plugins-4
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 # Add conf file
34 cp -a $stuff/libao.conf $fs/etc
35 }