wok-current view libao/receipt @ rev 14234
linux: update wget_url, use ftp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 22 09:04:12 2013 +0100 (2013-03-22) |
parents | b7319995b37e |
children | 4904e3d374a9 |
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 DEPENDS="glibc-base alsa-lib"
9 BUILD_DEPENDS="alsa-lib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://downloads.xiph.org/releases/ao/"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --enable-alsa09 --disable-arts \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib $fs/etc
28 cp -a $_pkg/usr/lib/ao $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 # Add conf file
32 cp -a stuff/libao.conf $fs/etc/
34 }