Browse Source

libjasper: specify lib directory for installation

When building on device (aarch64), the lib directory is set to $PREFIX/lib64
which is wrong and should be overridden.
emacs-27
Leonid Plyushch 6 years ago
parent
commit
b426530f1c
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 3
      packages/libjasper/build.sh

3
packages/libjasper/build.sh

@ -3,12 +3,13 @@ TERMUX_PKG_DESCRIPTION="Library for manipulating JPEG-2000 files"
TERMUX_PKG_LICENSE="BSD"
TERMUX_PKG_VERSION=2.0.16
TERMUX_PKG_REVISION=4
TERMUX_PKG_SHA256=f1d8b90f231184d99968f361884e2054a1714fdbbd9944ba1ae4ebdcc9bbfdb1
TERMUX_PKG_SRCURL=https://github.com/mdadams/jasper/archive/version-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=f1d8b90f231184d99968f361884e2054a1714fdbbd9944ba1ae4ebdcc9bbfdb1
TERMUX_PKG_DEPENDS="libjpeg-turbo"
TERMUX_PKG_BREAKS="libjasper-dev"
TERMUX_PKG_REPLACES="libjasper-dev"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-H$TERMUX_PKG_SRCDIR
-B$TERMUX_PKG_BUILDDIR
-DCMAKE_INSTALL_LIBDIR=$TERMUX_PREFIX/lib
"

Loading…
Cancel
Save