wok-next view libao/receipt @ rev 20458

Unlock x86_64 architecture
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 02 12:12:14 2018 +0200 (2018-03-02)
parents e1ee172acb7b
children a7b1395df64a
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 ./configure \
20 --enable-alsa09 \
21 --disable-arts \
22 $CONFIGURE_ARGS &&
23 make && make 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
32 # Add conf file
33 cp -a $stuff/libao.conf $fs/etc
34 }