summaryrefslogtreecommitdiffstats
path: root/extra/alsa-utils/Pkgfile
blob: ca33fcec8eae80761596c733db009b8a2298b3dd (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, dialog

name=alsa-utils
version=1.0.22
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-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
}