wok view libao/receipt @ rev 23774
add firmware-amdgpu (20200515)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri May 15 23:04:30 2020 -0400 (2020-05-15) |
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 }