termux-packages/packages/openjpeg/build.sh

13 lines
527 B
Bash

TERMUX_PKG_HOMEPAGE=http://www.openjpeg.org/
TERMUX_PKG_DESCRIPTION="JPEG 2000 image compression library"
TERMUX_PKG_VERSION=2.1.2
TERMUX_PKG_SRCURL=https://github.com/uclouvain/openjpeg/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=4ce77b6ef538ef090d9bde1d5eeff8b3069ab56c4906f083475517c2c023dfa7
TERMUX_PKG_FOLDERNAME=openjpeg-$TERMUX_PKG_VERSION
TERMUX_PKG_RM_AFTER_INSTALL="lib/openjpeg-2.1/*.cmake"
termux_step_pre_configure () {
# Force symlinks to be overwritten:
rm -Rf $TERMUX_PREFIX/lib/libopenjp2.so*
}