diff --git a/Libraries/liba52/build b/Libraries/liba52/build new file mode 100755 index 0000000..496b187 --- /dev/null +++ b/Libraries/liba52/build @@ -0,0 +1,10 @@ +#!/usr/bin/env modbuild + +pbuild::set_download_url "https://liba52.sourceforge.io/files/a52dec-${V_PKG}.tar.gz" "$P-${V_PKG}.tar.gz" +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/liba52/files/variants.rhel6 b/Libraries/liba52/files/variants.rhel6 new file mode 100644 index 0000000..22d9589 --- /dev/null +++ b/Libraries/liba52/files/variants.rhel6 @@ -0,0 +1 @@ +liba52/0.7.4 stable diff --git a/Libraries/liba52/files/variants.rhel7 b/Libraries/liba52/files/variants.rhel7 new file mode 100644 index 0000000..22d9589 --- /dev/null +++ b/Libraries/liba52/files/variants.rhel7 @@ -0,0 +1 @@ +liba52/0.7.4 stable diff --git a/Libraries/liba52/modulefile b/Libraries/liba52/modulefile new file mode 100644 index 0000000..d0d9f2b --- /dev/null +++ b/Libraries/liba52/modulefile @@ -0,0 +1,14 @@ +#%Module1.0 + +module-whatis "free library for decoding ATSC A/52 streams" +module-url "ihttps://liba52.sourceforge.io" +module-license "GNU GPL v3" +module-maintainer "Achim Gsell " + +module-help " +liba52 is a free library for decoding ATSC A/52 streams. It is released +under the terms of the GPL license. The A/52 standard is used in a +variety of applications, including digital television and DVD. It is +also known as AC-3. +" +