wok view libimobiledevice/receipt @ rev 18077

Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 22 17:34:18 2015 +0300 (2015-05-22)
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 }