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

systemd: added build dependency glibc-dev
author Hans-G?nter Theisgen
date Fri Apr 05 17:46:01 2019 +0100 (2019-04-05)
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 }