diff --git a/Libraries/libpng/build b/Libraries/libpng/build new file mode 100755 index 0000000..215e718 --- /dev/null +++ b/Libraries/libpng/build @@ -0,0 +1,15 @@ +#!/usr/bin/env modbuild + +V_XY=${V_MAJOR}${V_MINOR} +pbuild::set_download_url "ftp://ftp-osl.osuosl.org/pub/$P/src/$P${V_XY}/$P-${V_PKG}.tar.xz" +pbuild::add_to_group 'Libraries' + +pbuild::install_docfiles 'ANNOUNCE' +pbuild::install_docfiles 'CHANGES' +pbuild::install_docfiles 'LICENSE' +pbuild::install_docfiles 'README' +pbuild::install_docfiles 'TODO' + +pbuild::add_configure_args "--disable-shared" +pbuild::add_configure_args "--with-pic" + diff --git a/Libraries/libpng/files/variants b/Libraries/libpng/files/variants new file mode 100644 index 0000000..a1fcd25 --- /dev/null +++ b/Libraries/libpng/files/variants @@ -0,0 +1 @@ +libpng/1.6.34 unstable diff --git a/Libraries/libpng/modulefile b/Libraries/libpng/modulefile new file mode 100644 index 0000000..8a52e93 --- /dev/null +++ b/Libraries/libpng/modulefile @@ -0,0 +1,13 @@ +#%Module1.0 + +module-whatis "PNG reference library" +module-url "http://www.libpng.org/pub/png/libpng.html" +module-license "Open source" +module-maintainer "Achim Gsell " + +module-help " +libpng is the official PNG reference library. It supports almost all +PNG features, is extensible, and has been extensively tested for over +23 years. +" +