summaryrefslogtreecommitdiffstats
path: root/extra/alsa-utils/Pkgfile
blob: 16fb0e84bc83d9d003e9c0b306c879ed68779b89 (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
# Description: Utilitaires pour ALSA
# URL: http://www.alsa-project.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: alsa-lib

name=alsa-utils
version=1.0.20
release=1
source=(ftp://ftp.alsa-project.org/pub/utils/$name-$version.tar.bz2 \
         40-alsa.rules \
	http://www.linuxfromscratch.org/patches/blfs/svn/alsa-utils-$version-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 ../alsa-utils-1.0.18-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
}