wok annotate libao/receipt @ rev 25652
Up ntfs-3g (2022.10.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 06 11:59:08 2024 +0000 (9 months ago) |
parents | 5ea0ce1cecc0 |
children |
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 |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24299 | 21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
jozee@2661 | 25 # Rules to configure and make the package. |
jozee@2661 | 26 compile_rules() |
jozee@2661 | 27 { |
Hans-G?nter@23002 | 28 ./autogen.sh && |
Hans-G?nter@23002 | 29 ./configure \ |
Hans-G?nter@23002 | 30 --enable-alsa09 \ |
Hans-G?nter@23002 | 31 --disable-arts \ |
gokhlayeh@11573 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@23002 | 33 make && |
Hans-G?nter@23002 | 34 make install |
jozee@2661 | 35 } |
jozee@2661 | 36 |
jozee@2661 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2661 | 38 genpkg_rules() |
jozee@2661 | 39 { |
Hans-G?nter@23002 | 40 mkdir -p $fs/usr/lib/ao/plugins-4 |
Hans-G?nter@23002 | 41 mkdir -p $fs/etc |
Hans-G?nter@23002 | 42 |
Hans-G?nter@23002 | 43 cp -a $install/usr/lib/ao/plugins-4/*.so $fs/usr/lib/ao/plugins-4 |
Hans-G?nter@23002 | 44 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@23002 | 45 |
Hans-G?nter@23002 | 46 # Add configuration file |
Hans-G?nter@23002 | 47 cp -a $stuff/libao.conf $fs/etc |
jozee@2661 | 48 } |