SUMMARY="A library to handle Apple Property Lists in binary or XML" DESCRIPTION="libplist is a library for reading and writing the Apple binary \ and XML property list format. It is part of the libimobiledevice stack \ providing access to iDevices." HOMEPAGE="http://www.libimobiledevice.org/" COPYRIGHT="2008-2010 Jonathan Beck 2009-2014 Nikias Bassen 2009-2014 Martin Szulecki 2008 Matt Colyer" LICENSE="GNU GPL v2 GNU LGPL v2.1" REVISION="1" SOURCE_URI="https://github.com/libimobiledevice/libplist/archive/$portVersion.tar.gz" CHECKSUM_SHA256="9de7f90c45d0ee338170398a163035d387f50b28afe80bb24f3a11976151bf6d" SOURCE_FILENAME="libplist-$portVersion.tar.gz" ARCHITECTURES="all !x86_gcc2" SECONDARY_ARCHITECTURES="x86" PROVIDES=" libplist$secondaryArchSuffix = $portVersion compat >= 1 lib:libplist_2.0$secondaryArchSuffix = 4.4.0 compat >= 4 lib:libplist++_2.0$secondaryArchSuffix = 4.4.0 compat >= 4 " if [ -z "$secondaryArchSuffix" ]; then PROVIDES="$PROVIDES cmd:plistutil = $portVersion compat >= 1 " fi REQUIRES=" haiku$secondaryArchSuffix " PROVIDES_devel=" libplist${secondaryArchSuffix}_devel = $portVersion compat >= 1 devel:libplist_2.0$secondaryArchSuffix = 4.4.0 compat >= 4 devel:libplist++_2.0$secondaryArchSuffix = 4.4.0 compat >= 4 " REQUIRES_devel=" libplist$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " BUILD_PREREQUIRES=" cmd:aclocal cmd:autoconf cmd:automake cmd:cmake cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:libtoolize$secondaryArchSuffix cmd:make cmd:pkg_config$secondaryArchSuffix cmd:python3 cmd:which " BUILD() { if [ -n "$secondaryArchSuffix" ]; then maybe_without_cython=--without-cython else maybe_without_cython= fi export RELEASE_VERSION=$portVersion autoreconf -fi runConfigure ./configure $maybe_without_cython make $jobArgs } INSTALL() { make install # remove libtool files rm $libDir/lib*.la $libDir/lib*.a if [ -n "$secondaryArchSuffix" ]; then rm -rf $binDir fi prepareInstalledDevelLibs libplist-2.0 libplist++-2.0 fixPkgconfig # devel package packageEntries devel \ $developDir \ } TEST() { make check }