termux-packages/packages/libplist/build.sh

22 lines
768 B
Bash
Raw Normal View History

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."
2022-03-19 08:10:18 +01:00
TERMUX_PKG_LICENSE="GPL-2.0, LGPL-2.1"
TERMUX_PKG_LICENSE_FILE="COPYING, COPYING.LESSER"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.2.0
2022-03-19 08:10:18 +01:00
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/libimobiledevice/libplist/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=7e654bdd5d8b96f03240227ed09057377f06ebad08e1c37d0cfa2abe6ba0cee2
TERMUX_PKG_AUTO_UPDATE=true
2022-03-19 08:10:18 +01:00
TERMUX_PKG_DEPENDS="libc++"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_configure() {
2022-03-19 08:10:18 +01:00
PKG_CONFIG_PATH=$TERMUX_PREFIX/lib/pkgconfig
./autogen.sh \
--prefix=$TERMUX_PREFIX \
--without-cython \
--host=$TERMUX_HOST_PLATFORM
}