wok-next view alsa-lib/receipt @ rev 20565
uemacs: create $install tree
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 10 10:17:15 2018 +0200 (2018-04-10) |
parents | b2efa70e9283 |
children | 835b3b8ce6ac |
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 make && make -j1 install || return 1
23 mkdir -p $install/etc
24 cp $stuff/asound.conf $install/etc
25 }
27 genpkg_rules() {
28 # Enable software mixing for multiple audio streams
29 case $PACKAGE in
30 alsa-lib)
31 copy @std
32 CONFIG_FILES="/etc/asound.conf"
33 DEPENDS="linux"
34 ;;
35 *-dev) copy @dev;;
36 esac
37 }