summaryrefslogtreecommitdiffstats
path: root/extra/alsa-utils/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-09 14:16:34 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-09 14:16:34 +0200
commitcdd6e164ebad371c82dc04f72fb35625072b42cc (patch)
treef981844313f0d1a0a803ca2b7ab702664ba0a77f /extra/alsa-utils/Pkgfile
parent90badc78d656d486cf6432e972536c47ad2d517c (diff)
downloadnutyx-pakxe-cdd6e164ebad371c82dc04f72fb35625072b42cc.tar.gz
nutyx-pakxe-cdd6e164ebad371c82dc04f72fb35625072b42cc.tar.bz2
nutyx-pakxe-cdd6e164ebad371c82dc04f72fb35625072b42cc.tar.xz
nutyx-pakxe-cdd6e164ebad371c82dc04f72fb35625072b42cc.zip
Ajout de alsa-utils#1.0.20-1
Diffstat (limited to 'extra/alsa-utils/Pkgfile')
-rwxr-xr-xextra/alsa-utils/Pkgfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/alsa-utils/Pkgfile b/extra/alsa-utils/Pkgfile
new file mode 100755
index 000000000..46d1be464
--- /dev/null
+++ b/extra/alsa-utils/Pkgfile
@@ -0,0 +1,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-1.0.18-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
+}