wok-6.x annotate libao/receipt @ rev 15597
Update some bdeps with pkg-config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 05 11:43:50 2013 +0000 (2013-12-05) |
parents | 54ce68091a85 |
children | c35d5f7526ad |
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" |
pascal@14714 | 8 LICENSE="GPL2" |
jozee@2661 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2661 | 10 WEB_SITE="http://downloads.xiph.org/releases/ao/" |
jozee@2661 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
jozee@2661 | 12 |
pascal@14714 | 13 DEPENDS="glibc-base alsa-lib" |
pascal@14714 | 14 BUILD_DEPENDS="alsa-lib-dev" |
pascal@14714 | 15 |
jozee@2661 | 16 # Rules to configure and make the package. |
jozee@2661 | 17 compile_rules() |
jozee@2661 | 18 { |
jozee@2661 | 19 cd $src |
gokhlayeh@11573 | 20 ./configure --prefix=/usr --enable-alsa09 --disable-arts \ |
gokhlayeh@11573 | 21 $CONFIGURE_ARGS && |
gokhlayeh@11573 | 22 make && |
pascal@14714 | 23 make DESTDIR=$DESTDIR install |
jozee@2661 | 24 } |
jozee@2661 | 25 |
jozee@2661 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2661 | 27 genpkg_rules() |
jozee@2661 | 28 { |
jozee@2661 | 29 mkdir -p $fs/usr/lib $fs/etc |
pascal@14714 | 30 cp -a $install/usr/lib/ao $fs/usr/lib |
pascal@14714 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
jozee@2661 | 32 |
jozee@2661 | 33 # Add conf file |
jozee@2661 | 34 cp -a stuff/libao.conf $fs/etc/ |
jozee@2661 | 35 |
jozee@2661 | 36 } |