wok-6.x rev 11736
Add libimobiledevice.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Feb 21 15:14:15 2012 -0500 (2012-02-21) |
parents | 8cfc8629accd |
children | 677aeabc6609 |
files | libimobiledevice-dev/receipt libimobiledevice/receipt libimobiledevice/stuff/swig-version-check.patch |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libimobiledevice-dev/receipt Tue Feb 21 15:14:15 2012 -0500 1.3 @@ -0,0 +1,19 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libimobiledevice-dev" 1.7 +VERSION="1.1.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="devel files for libimobledevice" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +WEB_SITE="http://libimobiledevice.org" 1.12 +DEPENDS="libimobiledevice" 1.13 +WANTED="libimobiledevice" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/lib 1.19 + cp -a $install/usr/include $fs/usr 1.20 + cp -a $install/usr/lib/*.*a $fs/usr/lib 1.21 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.22 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libimobiledevice/receipt Tue Feb 21 15:14:15 2012 -0500 2.3 @@ -0,0 +1,29 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="libimobiledevice" 2.7 +VERSION="1.1.1" 2.8 +CATEGORY="misc" 2.9 +SHORT_DESC="Is a software library that talks the protocols to support iPhone and iPod Touch devices on Linux" 2.10 +MAINTAINER="slaxemulator@gmail.com" 2.11 +WEB_SITE="http://libimobiledevice.org" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.13 +WGET_URL="$WEB_SITE/downloads/$TARBALL" 2.14 + 2.15 +DEPENDS="gnutls glib libplist usbmuxd" 2.16 +BUILD_DEPENDS="gnutls-dev glib-dev libplist-dev usbmuxd-dev swig python-dev" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + patch -Np1 -i $stuff/swig-version-check.patch 2.22 + ./configure $CONFIGURE_ARGS && make && make install 2.23 +} 2.24 + 2.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.26 +genpkg_rules() 2.27 +{ 2.28 + mkdir -p $fs/usr/lib 2.29 + cp -a $install/usr/bin $fs/usr 2.30 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.31 + cp -a $install/usr/lib/python* $fs/usr/lib 2.32 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/libimobiledevice/stuff/swig-version-check.patch Tue Feb 21 15:14:15 2012 -0500 3.3 @@ -0,0 +1,14 @@ 3.4 +diff -Nur libimobiledevice-1.0.3.old/configure libimobiledevice-1.0.3/configure 3.5 +--- libimobiledevice-1.0.3.old/configure 2010-10-04 07:38:37.000000000 -0700 3.6 ++++ libimobiledevice-1.0.3/configure 2010-10-08 05:43:05.466686656 -0700 3.7 +@@ -3477,9 +3477,7 @@ 3.8 + if test -z "$available_patch" ; then 3.9 + available_patch=0 3.10 + fi 3.11 +- if test $available_major -ne $required_major \ 3.12 +- -o $available_minor -ne $required_minor \ 3.13 +- -o $available_patch -lt $required_patch ; then 3.14 ++ if test $available_major -lt $required_major ; then 3.15 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version >= 1.3.21 is required. You have $swig_version. You should look at http://www.swig.org" >&5 3.16 + $as_echo "$as_me: WARNING: SWIG version >= 1.3.21 is required. You have $swig_version. You should look at http://www.swig.org" >&2;} 3.17 + SWIG=false