wok-4.x view libao/receipt @ rev 7674
Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Dec 16 17:16:06 2010 +0000 (2010-12-16) |
parents | |
children | b7319995b37e |
line source
1 # SliTaz package receipt.
3 PACKAGE="libao"
4 VERSION="0.8.8"
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 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib $fs/etc
27 cp -a $_pkg/usr/lib/ao $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 # Add conf file
31 cp -a stuff/libao.conf $fs/etc/
33 }