smlinux/xorg/jasper/jasper.SMBuild

33 lines
806 B
Text
Executable file

app=jasper
version=2.0.16
build=1sml
homepage="http://www.ece.uvic.ca/~mdadams/jasper/"
download="https://github.com/jasper-software/jasper/archive/refs/tags/version-2.0.16.tar.gz"
requires="cmake libjpeg-turbo libxmu glew freeglut"
desc="free implementation of the JPEG-2000 standard"
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
mkdir -p smbuild && cd smbuild
cmake .. \
-DCMAKE_INSTALL_PREFIX="" \
-DCMAKE_INSTALL_LIBDIR=lib \
-DLATEX_FOUND=NO
make
make install DESTDIR=$pkg
cp ../LICENSE $pkgdocs/
mkfinalpkg
}
sha512sums="
309ee468bb5fdf6ad26e60a8990c94726ee1c9cf2d744d7496026de2460d68a6dcbfb551c02c3cdcaddcbd2ff85e804b29fa9c2df75a6e4c7a215f96b3fd80db jasper-2.0.16.tar.lz
"