Libraries/libexpat: added

This commit is contained in:
2019-01-17 12:32:00 +01:00
parent cb0f970631
commit 7f5a563716
3 changed files with 34 additions and 0 deletions

19
Libraries/libexpat/build Executable file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env modbuild
pbuild::set_download_url "https://github.com/$P/$P/releases/download/R_${V_PKG//./_}/expat-${V_PKG}.tar.bz2"
pbuild::add_to_group 'Libraries'
#pbuild::compile_in_sourcetree
pbuild::install_docfiles 'AUTHORS'
pbuild::install_docfiles 'Changes'
pbuild::install_docfiles 'COPYING'
pbuild::install_docfiles 'README.md'
pbuild::pre_configure() {
pbuild::add_configure_args "--disable-shared"
pbuild::add_configure_args "--with-pic"
}
pbuild::make_all

View File

@@ -0,0 +1 @@
libexpat/2.2.6 unstable

View File

@@ -0,0 +1,14 @@
#%Module1.0
module-whatis "stream-oriented XML parser library written in C"
module-url "https://libexpat.github.io/"
module-license "Open source, see $PREFIX/share/doc/libexpat/COPYING"
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
module-help "
Expat is a stream-oriented XML parser library written in C.
Expat excels with files too large to fit RAM, and where
performance and flexibility are crucial.
"