wok-6.x annotate libimobiledevice/receipt @ rev 14748

busybox: add musl & dietlibc patchs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 16 15:26:17 2013 +0200 (2013-06-16)
parents 2d8aa250683f
children 16df76e1fc6a
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 \
samuel_trassare@11775 21 $CONFIGURE_ARGS &&
samuel_trassare@11775 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 }