diff --git a/Libraries/alsa-lib/build b/Libraries/alsa-lib/build new file mode 100755 index 0000000..fbd15d4 --- /dev/null +++ b/Libraries/alsa-lib/build @@ -0,0 +1,10 @@ +#!/usr/bin/env modbuild + +pbuild::set_download_url "http://www.alsa-project.org/files/pub/lib/$P-${V_PKG}.tar.bz2" +pbuild::add_to_group 'Libraries' + +pbuild::pre_configure() { + pbuild::add_configure_args '--with-pic' + pbuild::add_configure_args '--enable-shared' + pbuild::add_configure_args 'CFLAGS=-fPIC' +} diff --git a/Libraries/alsa-lib/files/variants.rhel6 b/Libraries/alsa-lib/files/variants.rhel6 new file mode 100644 index 0000000..783c8dd --- /dev/null +++ b/Libraries/alsa-lib/files/variants.rhel6 @@ -0,0 +1 @@ +alsa-lib/1.2.5.1 unstable diff --git a/Libraries/alsa-lib/files/variants.rhel7 b/Libraries/alsa-lib/files/variants.rhel7 new file mode 100644 index 0000000..783c8dd --- /dev/null +++ b/Libraries/alsa-lib/files/variants.rhel7 @@ -0,0 +1 @@ +alsa-lib/1.2.5.1 unstable diff --git a/Libraries/alsa-lib/modulefile b/Libraries/alsa-lib/modulefile new file mode 100644 index 0000000..7281f77 --- /dev/null +++ b/Libraries/alsa-lib/modulefile @@ -0,0 +1,21 @@ +#%Module1.0 + +module-whatis "Advanced Linux Sound Architecture (ALSA) libraries" +module-url "https://alsa-project.org/" +module-license "GNU GPL v3" +module-maintainer "Achim Gsell " + +module-help " +The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI +functionality to the Linux operating system. ALSA has the following +significant features: +o Efficient support for all types of audio interfaces, from consumer + sound cards to professional multichannel audio interfaces. +o Fully modularized sound drivers. +o SMP and thread-safe design. +o User space library (alsa-lib) to simplify application programming + and provide higher level functionality. +o Support for the older Open Sound System (OSS) API, providing + binary compatibility for most OSS programs. +" +