wok annotate libao/receipt @ rev 23696

Up libtcplay (3.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 27 09:29:39 2020 +0000 (2020-04-27)
parents a78610b2eb47
children 5ea0ce1cecc0
rev   line source
jozee@2661 1 # SliTaz package receipt.
jozee@2661 2
jozee@2661 3 PACKAGE="libao"
Hans-G?nter@23002 4 VERSION="1.2.2"
jozee@2661 5 CATEGORY="multimedia"
Hans-G?nter@23002 6 SHORT_DESC="Cross-platform audio output library and plugins."
jozee@2661 7 MAINTAINER="rj.rohit@gmail.com"
pascal@14714 8 LICENSE="GPL2"
Hans-G?nter@23002 9 WEB_SITE="https://xiph.org/ao/"
Hans-G?nter@23002 10
jozee@2661 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@23002 12 WGET_URL="https://github.com/xiph/$PACKAGE/archive/$VERSION.tar.gz"
Hans-G?nter@23002 13
Hans-G?nter@23002 14 DEPENDS="alsa-lib glibc-base"
Hans-G?nter@23002 15 BUILD_DEPENDS="alsa-lib-dev autoconf automake libtool"
Hans-G?nter@23002 16
pankso@16379 17 HOST_ARCH="i486 arm"
jozee@2661 18
jozee@2661 19 # Rules to configure and make the package.
jozee@2661 20 compile_rules()
jozee@2661 21 {
Hans-G?nter@23002 22 ./autogen.sh &&
Hans-G?nter@23002 23 ./configure \
Hans-G?nter@23002 24 --enable-alsa09 \
Hans-G?nter@23002 25 --disable-arts \
gokhlayeh@11573 26 $CONFIGURE_ARGS &&
Hans-G?nter@23002 27 make &&
Hans-G?nter@23002 28 make install
jozee@2661 29 }
jozee@2661 30
jozee@2661 31 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2661 32 genpkg_rules()
jozee@2661 33 {
Hans-G?nter@23002 34 mkdir -p $fs/usr/lib/ao/plugins-4
Hans-G?nter@23002 35 mkdir -p $fs/etc
Hans-G?nter@23002 36
Hans-G?nter@23002 37 cp -a $install/usr/lib/ao/plugins-4/*.so $fs/usr/lib/ao/plugins-4
Hans-G?nter@23002 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@23002 39
Hans-G?nter@23002 40 # Add configuration file
Hans-G?nter@23002 41 cp -a $stuff/libao.conf $fs/etc
jozee@2661 42 }