summaryrefslogtreecommitdiffstats
path: root/extra/alsa-utils/Pkgfile
diff options
context:
space:
mode:
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
+}