wok view libao/receipt @ rev 23607
Up slitaz-boot-scripts (459)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 12 10:18:55 2020 +0000 (2020-04-12) |
parents | a78610b2eb47 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libao"
4 VERSION="1.2.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Cross-platform audio output library and plugins."
7 MAINTAINER="rj.rohit@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://xiph.org/ao/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/xiph/$PACKAGE/archive/$VERSION.tar.gz"
14 DEPENDS="alsa-lib glibc-base"
15 BUILD_DEPENDS="alsa-lib-dev autoconf automake libtool"
17 HOST_ARCH="i486 arm"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./autogen.sh &&
23 ./configure \
24 --enable-alsa09 \
25 --disable-arts \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/ao/plugins-4
35 mkdir -p $fs/etc
37 cp -a $install/usr/lib/ao/plugins-4/*.so $fs/usr/lib/ao/plugins-4
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 # Add configuration file
41 cp -a $stuff/libao.conf $fs/etc
42 }