wok-current annotate libao/receipt @ rev 13183
Up libao (1.1.0)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Thu Aug 02 18:28:35 2012 +0100 (2012-08-02) |
parents | b7319995b37e |
children | 4904e3d374a9 |
rev | line source |
---|---|
jozee@2661 | 1 # SliTaz package receipt. |
jozee@2661 | 2 |
jozee@2661 | 3 PACKAGE="libao" |
paul@13183 | 4 VERSION="1.1.0" |
jozee@2661 | 5 CATEGORY="multimedia" |
jozee@2661 | 6 SHORT_DESC="Cross-platform audio output library and plugins" |
jozee@2661 | 7 MAINTAINER="rj.rohit@gmail.com" |
jozee@2661 | 8 DEPENDS="glibc-base alsa-lib" |
jozee@2661 | 9 BUILD_DEPENDS="alsa-lib-dev" |
jozee@2661 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2661 | 11 WEB_SITE="http://downloads.xiph.org/releases/ao/" |
jozee@2661 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
jozee@2661 | 13 |
jozee@2661 | 14 # Rules to configure and make the package. |
jozee@2661 | 15 compile_rules() |
jozee@2661 | 16 { |
jozee@2661 | 17 cd $src |
gokhlayeh@11573 | 18 ./configure --prefix=/usr --enable-alsa09 --disable-arts \ |
gokhlayeh@11573 | 19 $CONFIGURE_ARGS && |
gokhlayeh@11573 | 20 make && |
jozee@2661 | 21 make DESTDIR=$PWD/_pkg install |
jozee@2661 | 22 } |
jozee@2661 | 23 |
jozee@2661 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2661 | 25 genpkg_rules() |
jozee@2661 | 26 { |
jozee@2661 | 27 mkdir -p $fs/usr/lib $fs/etc |
jozee@2661 | 28 cp -a $_pkg/usr/lib/ao $fs/usr/lib |
jozee@2661 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
jozee@2661 | 30 |
jozee@2661 | 31 # Add conf file |
jozee@2661 | 32 cp -a stuff/libao.conf $fs/etc/ |
jozee@2661 | 33 |
jozee@2661 | 34 } |