wok-6.x view libao/receipt @ rev 22060

created package get-uae
author Hans-G?nter Theisgen
date Thu Oct 24 16:03:15 2019 +0100 (2019-10-24)
parents e1ee172acb7b
children 2443e7e7a2db
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="https://downloads.xiph.org/releases/ao/"
11 WGET_URL="$WEB_SITE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glibc-base alsa-lib"
15 BUILD_DEPENDS="alsa-lib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --enable-alsa09 \
22 --disable-arts \
23 $CONFIGURE_ARGS &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib/ao/plugins-4 $fs/etc
31 cp -a $install/usr/lib/ao/plugins-4/*.so $fs/usr/lib/ao/plugins-4
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 # Add conf file
34 cp -a $stuff/libao.conf $fs/etc
35 }