wok-6.x annotate libimobiledevice/receipt @ rev 14065
shaarli: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 20 12:48:01 2013 +0100 (2013-02-20) |
parents | 5db7712b8b34 |
children | 4904e3d374a9 |
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" |
samuel_trassare@11775 | 13 BUILD_DEPENDS="gnutls-dev glib-dev libplist-dev usbmuxd-dev python-dev swig" |
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 |
samuel_trassare@11775 | 19 ./configure \ |
samuel_trassare@11775 | 20 $CONFIGURE_ARGS && |
samuel_trassare@11775 | 21 make && |
samuel_trassare@11775 | 22 make install |
slaxemulator@11736 | 23 } |
slaxemulator@11736 | 24 |
slaxemulator@11736 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11736 | 26 genpkg_rules() |
slaxemulator@11736 | 27 { |
slaxemulator@11736 | 28 mkdir -p $fs/usr/lib |
slaxemulator@11736 | 29 cp -a $install/usr/bin $fs/usr |
slaxemulator@11736 | 30 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@11736 | 31 cp -a $install/usr/lib/python* $fs/usr/lib |
slaxemulator@11736 | 32 } |