Tools/xrlib
- added
This commit is contained in:
28
Tools/jxrlib/build
Executable file
28
Tools/jxrlib/build
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::add_to_group 'Tools'
|
||||
|
||||
pbuild::set_download_url "https://gitlab.psi.ch/Pmodules/download/raw/master/$P-$V.tar.xz"
|
||||
pbuild::compile_in_sourcetree
|
||||
pbuild::add_docfiles 'doc/readme.txt'
|
||||
|
||||
pbuild::configure() {
|
||||
:
|
||||
}
|
||||
|
||||
pbuild::install() {
|
||||
mkdir -p "${PREFIX}/bin"
|
||||
mkdir -p "${PREFIX}/lib"
|
||||
install -m 0755 "${SRC_DIR}/build/JxrDecApp" "${PREFIX}/bin"
|
||||
install -m 0755 "${SRC_DIR}/build/JxrEncApp" "${PREFIX}/bin"
|
||||
install -m 0644 "${SRC_DIR}/build/libjpegxr.a" "${PREFIX}/lib"
|
||||
install -m 0644 "${SRC_DIR}/build/libjxrglue.a" "${PREFIX}/lib"
|
||||
}
|
||||
|
||||
pbuild::make_all
|
||||
|
||||
# Local Variables:
|
||||
# mode: sh
|
||||
# sh-basic-offset: 8
|
||||
# tab-width: 8
|
||||
# End:
|
||||
1
Tools/jxrlib/files/variants
Normal file
1
Tools/jxrlib/files/variants
Normal file
@@ -0,0 +1 @@
|
||||
jxrlib/1.1 unstable
|
||||
11
Tools/jxrlib/modulefile
Normal file
11
Tools/jxrlib/modulefile
Normal file
@@ -0,0 +1,11 @@
|
||||
#%PModule
|
||||
|
||||
module-whatis "open source implementation of jpegxr"
|
||||
module-url "https://archive.codeplex.com/?p=jxrlib"
|
||||
module-license "BSD"
|
||||
module-maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
module-help "
|
||||
This is an open source implementation of the jpegxr image format standard.
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user