wok-next annotate libao/receipt @ rev 21481
updated airgeddon (8.12 -> 10.21)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 18 14:24:40 2020 +0100 (2020-06-18) |
parents | a3c581bf52b8 |
children |
rev | line source |
---|---|
al@20459 | 1 # SliTaz package receipt v2. |
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" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14714 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="https://ftp.osuosl.org/pub/xiph/releases/ao/" |
al@20459 | 10 |
jozee@2661 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2661 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
jozee@2661 | 13 |
pascal@14714 | 14 BUILD_DEPENDS="alsa-lib-dev" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
pascal@14714 | 16 |
al@20459 | 17 compile_rules() { |
pankso@16379 | 18 ./configure \ |
pankso@16379 | 19 --enable-alsa09 \ |
pankso@16379 | 20 --disable-arts \ |
gokhlayeh@11573 | 21 $CONFIGURE_ARGS && |
al@20575 | 22 fix libtool && |
al@20550 | 23 make && |
al@20550 | 24 make install || return 1 |
al@20550 | 25 |
al@20550 | 26 # Add conf file |
al@20550 | 27 install -Dm644 $stuff/libao.conf $install/etc/libao.conf |
jozee@2661 | 28 } |
jozee@2661 | 29 |
al@20459 | 30 genpkg_rules() { |
al@20459 | 31 case $PACKAGE in |
al@20459 | 32 libao) |
al@20550 | 33 copy @std |
al@20550 | 34 DEPENDS="alsa-lib" |
al@20459 | 35 ;; |
al@20459 | 36 *-dev) |
al@20550 | 37 copy @dev |
al@20459 | 38 ;; |
al@20459 | 39 esac |
jozee@2661 | 40 } |