distribution/packages/devel/libplist/package.mk
2022-02-05 09:23:32 -05:00

23 lines
772 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
PKG_NAME="libplist"
PKG_VERSION="2.2.0"
PKG_SHA256="4a5517e5377ec421df84c586ba85bb4e1d26f11ad203d7d450a907c0156fbd9a"
PKG_LICENSE="GPL"
PKG_SITE="http://www.libimobiledevice.org/"
PKG_URL="https://github.com/libimobiledevice/libplist/releases/download/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain glib"
PKG_LONGDESC="libplist is a library for manipulating Apple Binary and XML Property Lists"
PKG_TOOLCHAIN="autotools"
PKG_CONFIGURE_OPTS_TARGET="--without-cython"
pre_configure_target() {
# work around bashism in configure script
export CONFIG_SHELL="/bin/bash"
}
post_makeinstall_target() {
rm -rf ${INSTALL}/usr/bin
}