mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-01 00:20:30 +00:00
30 lines
1.1 KiB
Bash
30 lines
1.1 KiB
Bash
TERMUX_PKG_HOMEPAGE=https://libimobiledevice.org
|
|
TERMUX_PKG_DESCRIPTION="A small portable C library to handle Apple Property List files in binary or XML format"
|
|
TERMUX_PKG_LICENSE="GPL-2.0, LGPL-2.1"
|
|
TERMUX_PKG_LICENSE_FILE="COPYING, COPYING.LESSER"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=2.3.0
|
|
TERMUX_PKG_SRCURL=https://github.com/libimobiledevice/libplist/releases/download/${TERMUX_PKG_VERSION}/libplist-${TERMUX_PKG_VERSION}.tar.bz2
|
|
TERMUX_PKG_SHA256=4e8580d3f39d3dfa13cefab1a13f39ea85c4b0202e9305c5c8f63818182cac61
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_DEPENDS="libc++"
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
--without-cython
|
|
"
|
|
|
|
termux_step_post_get_source() {
|
|
# Do not forget to bump revision of reverse dependencies and rebuild them
|
|
# after SOVERSION is changed.
|
|
local _SOVERSION=4
|
|
|
|
local e=$(sed -En 's/^LIBPLIST_SO_VERSION="?([0-9]+):([0-9]+):([0-9]+).*/\1-\3/p' \
|
|
configure.ac)
|
|
if [ ! "${e}" ] || [ "${_SOVERSION}" != "$(( "${e}" ))" ]; then
|
|
termux_error_exit "SOVERSION guard check failed."
|
|
fi
|
|
}
|
|
|
|
termux_step_pre_configure() {
|
|
autoreconf -fi
|
|
}
|