wok annotate libao/receipt @ rev 17831

Up:tazpanel(1.8.3)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Mar 23 00:37:51 2015 +0100 (2015-03-23)
parents c35d5f7526ad
children a78610b2eb47
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"
pankso@16379 12 HOST_ARCH="i486 arm"
jozee@2661 13
pascal@14714 14 DEPENDS="glibc-base alsa-lib"
pascal@14714 15 BUILD_DEPENDS="alsa-lib-dev"
pascal@14714 16
jozee@2661 17 # Rules to configure and make the package.
jozee@2661 18 compile_rules()
jozee@2661 19 {
pankso@16379 20 ./configure \
pankso@16379 21 --enable-alsa09 \
pankso@16379 22 --disable-arts \
gokhlayeh@11573 23 $CONFIGURE_ARGS &&
pankso@16379 24 make && make install
jozee@2661 25 }
jozee@2661 26
jozee@2661 27 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2661 28 genpkg_rules()
jozee@2661 29 {
pankso@15893 30 mkdir -p $fs/usr/lib/ao/plugins-4 $fs/etc
pankso@15893 31 cp -a $install/usr/lib/ao/plugins-4/*.so $fs/usr/lib/ao/plugins-4
pascal@14714 32 cp -a $install/usr/lib/*.so* $fs/usr/lib
jozee@2661 33 # Add conf file
pankso@16379 34 cp -a $stuff/libao.conf $fs/etc
jozee@2661 35 }