# SliTaz package receipt. PACKAGE="libplist" VERSION="2.2.0" CATEGORY="multimedia" SHORT_DESC="A library to handle Apple Property List format whereas it's binary or XML" MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2" WEB_SITE="https://libimobiledevice.org/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/libimobiledevice/$PACKAGE/archive/$VERSION.tar.gz" DEPENDS="glib libxml2" #BUILD_DEPENDS="glib-dev libxml2-dev cmake swig python python-dev " BUILD_DEPENDS="automake file gawk glib-dev libtool libxml2-dev python python-dev" # What is the latest version available today? current_version() { wget -O - https://github.com/libimobiledevice/libplist/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./autogen.sh && ./configure LIBS=-lm && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib/ # cp -a $install/usr/lib/python* $fs/usr/lib }