wok view libplist/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents ede1d184d5c5
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libplist"
4 VERSION="2.2.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="A library to handle Apple Property List format whereas it's binary or XML"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://libimobiledevice.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/libimobiledevice/$PACKAGE/archive/$VERSION.tar.gz"
14 DEPENDS="glib libxml2"
15 #BUILD_DEPENDS="glib-dev libxml2-dev cmake swig python python-dev "
16 BUILD_DEPENDS="automake file gawk glib-dev libtool libxml2-dev python python-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/libimobiledevice/libplist/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh &&
29 ./configure LIBS=-lm &&
30 make &&
31 make install DESTDIR=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib/
41 # cp -a $install/usr/lib/python* $fs/usr/lib
42 }