2019-03-18 20:30:39 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://lloyd.github.io/yajl/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Yet Another JSON Library"
|
|
|
|
TERMUX_PKG_LICENSE="ISC"
|
|
|
|
TERMUX_PKG_VERSION=2.1.0
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_REVISION=4
|
2019-03-18 20:30:39 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/lloyd/yajl/archive/$TERMUX_PKG_VERSION.tar.gz
|
|
|
|
TERMUX_PKG_SHA256=3fb73364a5a30efe615046d07e6db9d09fd2b41c763c5f7d3bfb121cd5c5ac5a
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="yajl-dev"
|
|
|
|
TERMUX_PKG_REPLACES="yajl-dev"
|
2019-03-18 20:30:39 +01:00
|
|
|
TERMUX_PKG_FORCE_CMAKE=true
|
|
|
|
|
|
|
|
termux_step_post_make_install() {
|
|
|
|
# Fix location of 'yajl.pc'.
|
|
|
|
mkdir -p "${TERMUX_PREFIX}"/lib/pkgconfig
|
|
|
|
mv -f \
|
|
|
|
"${TERMUX_PREFIX}"/share/pkgconfig/yajl.pc \
|
|
|
|
"${TERMUX_PREFIX}"/lib/pkgconfig/yajl.pc
|
|
|
|
}
|