wok view libimobiledevice/receipt @ rev 19774

some *-dev depend on pkg-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 21 15:50:51 2017 +0100 (2017-02-21)
parents 4904e3d374a9
children febd8d7de57b
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="http://libimobiledevice.org"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="$WEB_SITE/downloads/$TARBALL"
13 DEPENDS="gnutls glib libplist usbmuxd"
14 BUILD_DEPENDS="gnutls-dev glib-dev libplist-dev usbmuxd-dev python-dev swig"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 patch -Np1 -i $stuff/swig-version-check.patch
20 ./configure \
21 $CONFIGURE_ARGS &&
22 make &&
23 make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 cp -a $install/usr/lib/python* $fs/usr/lib
33 }