wok-6.x view libao/receipt @ rev 24533
updated f3 (7.2 -> 8.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 11:14:10 2022 +0100 (2022-02-23) |
parents | 5ea0ce1cecc0 |
children |
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 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh &&
29 ./configure \
30 --enable-alsa09 \
31 --disable-arts \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib/ao/plugins-4
41 mkdir -p $fs/etc
43 cp -a $install/usr/lib/ao/plugins-4/*.so $fs/usr/lib/ao/plugins-4
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 # Add configuration file
47 cp -a $stuff/libao.conf $fs/etc
48 }