Added '--docdir' build option to extra/xarchiver, gtk/libcanberra, net/{tor,x2x} build files Updated net/cgit tarball checksum Switched to cmake build system in net/weechat Discarded 'v' verbosity argument used for extracting net/x2x tarball and its doinst.sh Fixed hardcoded doc directory name in xorg/jasper
41 lines
983 B
Text
Executable file
41 lines
983 B
Text
Executable file
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="" \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DLATEX_FOUND=NO
|
|
#-DJAS_ENABLE_DOC=OFF
|
|
|
|
# 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
|
|
"
|