Removed build options that placed elf binaries in /bin Removed executable bit from some build files
41 lines
1,002 B
Text
41 lines
1,002 B
Text
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=jasper
|
|
version=2.0.16
|
|
build=2sml
|
|
homepage="http://www.ece.uvic.ca/~mdadams/jasper/"
|
|
download="https://github.com/jasper-software/jasper/archive/refs/tags/version-$version.tar.gz"
|
|
requires="cmake libjpeg-turbo libxmu glew freeglut"
|
|
desc="free implementation of the JPEG-2000 standard"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
mkdir -p smbuild && cd smbuild
|
|
cmake .. \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DLATEX_FOUND=NO
|
|
|
|
# Fix fancy doc directory naming
|
|
sed -i "s@JasPer@jasper-$version@g" \
|
|
cmake_install.cmake \
|
|
doc/cmake_install.cmake
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cp ../LICENSE $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
309ee468bb5fdf6ad26e60a8990c94726ee1c9cf2d744d7496026de2460d68a6dcbfb551c02c3cdcaddcbd2ff85e804b29fa9c2df75a6e4c7a215f96b3fd80db jasper-2.0.16.tar.lz
|
|
"
|