wok view libimobiledevice/receipt @ rev 25192

updated python-formencode (1.2.2 -> 2.0.1)
author Hans-G?nter Theisgen
date Wed Jul 13 10:37:28 2022 +0100 (2022-07-13)
parents a3c45ab9082e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libimobiledevice"
4 VERSION="1.1.1"
5 CATEGORY="misc"
6 SHORT_DESC="Is a software library that talks the protocols to support iPhone and iPod Touch devices on Linux"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://libimobiledevice.org"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://cgit.sukimashita.com/libimobiledevice.git/snapshot/$TARBALL"
13 DEPENDS="gnutls glib libplist usbmuxd"
14 BUILD_DEPENDS="gnutls-dev glib-dev libplist-dev usbmuxd-dev python-dev swig \
15 libgnutls"
17 current_version()
18 {
19 wget -O - https://github.com/libimobiledevice/libimobiledevice 2>/dev/null | \
20 sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 patch -Np1 -i $stuff/swig-version-check.patch
27 ./configure \
28 $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/lib/python* $fs/usr/lib
40 }