wok annotate libimobiledevice/receipt @ rev 11765
up mtr (0.82) and added description
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Wed Feb 22 17:33:57 2012 -0800 (2012-02-22) |
parents | |
children | 2d8aa250683f |
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" |
slaxemulator@11736 | 8 WEB_SITE="http://libimobiledevice.org" |
slaxemulator@11736 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@11736 | 10 WGET_URL="$WEB_SITE/downloads/$TARBALL" |
slaxemulator@11736 | 11 |
slaxemulator@11736 | 12 DEPENDS="gnutls glib libplist usbmuxd" |
slaxemulator@11736 | 13 BUILD_DEPENDS="gnutls-dev glib-dev libplist-dev usbmuxd-dev swig python-dev" |
slaxemulator@11736 | 14 |
slaxemulator@11736 | 15 # Rules to configure and make the package. |
slaxemulator@11736 | 16 compile_rules() |
slaxemulator@11736 | 17 { |
slaxemulator@11736 | 18 patch -Np1 -i $stuff/swig-version-check.patch |
slaxemulator@11736 | 19 ./configure $CONFIGURE_ARGS && make && make install |
slaxemulator@11736 | 20 } |
slaxemulator@11736 | 21 |
slaxemulator@11736 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11736 | 23 genpkg_rules() |
slaxemulator@11736 | 24 { |
slaxemulator@11736 | 25 mkdir -p $fs/usr/lib |
slaxemulator@11736 | 26 cp -a $install/usr/bin $fs/usr |
slaxemulator@11736 | 27 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@11736 | 28 cp -a $install/usr/lib/python* $fs/usr/lib |
slaxemulator@11736 | 29 } |