wok view libao/receipt @ rev 24056
Up zstd (1.5.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 08 09:29:15 2021 +0000 (2021-06-08) |
parents | 2443e7e7a2db |
children | ac8ca9758df1 |
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*}/releases 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 }