wok view libao/receipt @ rev 16490
mpg123: needs libmpg123.la and add arch optimisation
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 23 14:28:29 2014 +0200 (2014-04-23) |
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 }