wok-next view alsa-lib/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | d1ec7aca1013 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="alsa-lib"
4 VERSION="1.1.6"
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/svn/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 }