summaryrefslogtreecommitdiffstats
path: root/extra/alsa-utils/Pkgfile
blob: 24b37c1bcb3175d78533b570e521b038a31f61de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Description: Utilitaires pour ALSA
# URL: http://www.alsa-project.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: alsa-lib, dialog
# Run on:

name=alsa-utils
version=1.0.23
release=1
source=(ftp://ftp.alsa-project.org/pub/utils/$name-$version.tar.bz2 \
        http://nutyx.meticul.eu/files/patchs/$name/40-alsa.rules \
	http://www.linuxfromscratch.org/patches/blfs/svn/alsa-utils-1.0.21-no_xmlto-1.patch) 

build() {
	source /etc/blfs-bootscripts
        wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
        tar xvf $scripts-$scriptsversion.tar.bz2
	cd $name-$version
	patch -Np1 -i ../$name-1.0.21-no_xmlto-1.patch
	./configure --prefix=/usr \
                    --mandir=/usr/share/man \
                    --infodir=/usr/share/info
	make
	make DESTDIR=$PKG install
        mkdir -p $PKG/etc/udev/rules.d
        mv ../40-alsa.rules $PKG/etc/udev/rules.d/
        cd ../$scripts-$scriptsversion
        make DESTDIR=$PKG install-alsa
}