2019-12-10 13:28:07 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://mediaarea.net/en/MediaInfo
|
|
|
|
TERMUX_PKG_DESCRIPTION="ZenLib C++ utility library"
|
|
|
|
TERMUX_PKG_LICENSE="ZLIB"
|
2020-04-04 21:01:12 +02:00
|
|
|
TERMUX_PKG_VERSION=0.4.38
|
2020-04-06 07:52:14 +02:00
|
|
|
TERMUX_PKG_REVISION=2
|
2019-12-10 13:28:07 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://mediaarea.net/download/source/libzen/${TERMUX_PKG_VERSION}/libzen_${TERMUX_PKG_VERSION}.tar.gz
|
2020-04-04 21:01:12 +02:00
|
|
|
TERMUX_PKG_SHA256=ad98fccec235ed76a40e7da8856f0bcc9c8d07cafe4c3ce30c47407760add786
|
2020-04-06 07:52:14 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libandroid-glob, libandroid-support"
|
2019-12-10 13:28:07 +01:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-shared --enable-static"
|
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
TERMUX_PKG_SRCDIR="${TERMUX_PKG_SRCDIR}/Project/GNU/Library"
|
|
|
|
TERMUX_PKG_BUILDDIR="${TERMUX_PKG_SRCDIR}"
|
|
|
|
cd "${TERMUX_PKG_SRCDIR}" || return
|
|
|
|
./autogen.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_post_make_install() {
|
|
|
|
ln -sf "${TERMUX_PREFIX}/lib/libzen.so" "${TERMUX_PREFIX}/lib/libzen.so.${TERMUX_PKG_VERSION:0:1}"
|
|
|
|
ln -sf "${TERMUX_PREFIX}/lib/libzen.so" "${TERMUX_PREFIX}/lib/libzen.so.${TERMUX_PKG_VERSION}"
|
|
|
|
}
|