wok view libao/receipt @ rev 16239
ARM: gtk cross compile (exporting LIBTOOL to use cross tool was the fix)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 02 23:48:03 2014 +0200 (2014-04-02) |
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 }