wok diff libimobiledevice/receipt @ rev 11736

Add libimobiledevice.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Feb 21 15:14:15 2012 -0500 (2012-02-21)
parents
children 2d8aa250683f
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libimobiledevice/receipt	Tue Feb 21 15:14:15 2012 -0500
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libimobiledevice"
     1.7 +VERSION="1.1.1"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="Is a software library that talks the protocols to support iPhone and iPod Touch devices on Linux"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +WEB_SITE="http://libimobiledevice.org"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.13 +WGET_URL="$WEB_SITE/downloads/$TARBALL"
    1.14 +
    1.15 +DEPENDS="gnutls glib libplist usbmuxd"
    1.16 +BUILD_DEPENDS="gnutls-dev glib-dev libplist-dev usbmuxd-dev swig python-dev"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	patch -Np1 -i $stuff/swig-version-check.patch
    1.22 +	./configure $CONFIGURE_ARGS && make && make install
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/lib
    1.29 +	cp -a $install/usr/bin $fs/usr
    1.30 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.31 +	cp -a $install/usr/lib/python* $fs/usr/lib
    1.32 +}