wok-current annotate libimobiledevice/receipt @ rev 18199

Up tazinst (60)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 12 21:09:55 2015 +0200 (2015-07-12)
parents 4904e3d374a9
children febd8d7de57b
rev   line source
slaxemulator@11736 1 # SliTaz package receipt.
slaxemulator@11736 2
slaxemulator@11736 3 PACKAGE="libimobiledevice"
slaxemulator@11736 4 VERSION="1.1.1"
slaxemulator@11736 5 CATEGORY="misc"
slaxemulator@11736 6 SHORT_DESC="Is a software library that talks the protocols to support iPhone and iPod Touch devices on Linux"
slaxemulator@11736 7 MAINTAINER="slaxemulator@gmail.com"
pascal@14714 8 LICENSE="GPL2"
slaxemulator@11736 9 WEB_SITE="http://libimobiledevice.org"
slaxemulator@11736 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@11736 11 WGET_URL="$WEB_SITE/downloads/$TARBALL"
slaxemulator@11736 12
slaxemulator@11736 13 DEPENDS="gnutls glib libplist usbmuxd"
samuel_trassare@11775 14 BUILD_DEPENDS="gnutls-dev glib-dev libplist-dev usbmuxd-dev python-dev swig"
slaxemulator@11736 15
slaxemulator@11736 16 # Rules to configure and make the package.
slaxemulator@11736 17 compile_rules()
slaxemulator@11736 18 {
slaxemulator@11736 19 patch -Np1 -i $stuff/swig-version-check.patch
samuel_trassare@11775 20 ./configure \
al@18077 21 $CONFIGURE_ARGS &&
al@18077 22 make &&
samuel_trassare@11775 23 make install
slaxemulator@11736 24 }
slaxemulator@11736 25
slaxemulator@11736 26 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@11736 27 genpkg_rules()
slaxemulator@11736 28 {
slaxemulator@11736 29 mkdir -p $fs/usr/lib
slaxemulator@11736 30 cp -a $install/usr/bin $fs/usr
slaxemulator@11736 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@11736 32 cp -a $install/usr/lib/python* $fs/usr/lib
slaxemulator@11736 33 }