wok-next view alsa-lib/receipt @ rev 20626

librevenge: fix build for new toolchain
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 26 13:06:21 2018 +0300 (2018-04-26)
parents 6d173c4b9591
children d1ec7aca1013
line source
1 # SliTaz package receipt v2.
3 PACKAGE="alsa-lib"
4 VERSION="1.1.5"
5 CATEGORY="multimedia"
6 SHORT_DESC="ALSA sound libraries"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.alsa-project.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/multimedia/alsa-lib.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="ftp://ftp.alsa-project.org/pub/lib/$TARBALL"
15 SPLIT="alsa-lib-dev"
17 compile_rules() {
18 ./configure \
19 --disable-python \
20 $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make -j1 install || return 1
25 install -Dm644 $stuff/asound.conf $install/etc/asound.conf
26 }
28 genpkg_rules() {
29 # Enable software mixing for multiple audio streams
30 case $PACKAGE in
31 alsa-lib)
32 copy @std
33 CONFIG_FILES="/etc/asound.conf"
34 DEPENDS="linux"
35 ;;
36 *-dev) copy @dev;;
37 esac
38 }