wok-current annotate libimobiledevice/receipt @ rev 25620
Use default gcc 6.3 for ghostscript
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Sep 04 05:39:50 2023 +0000 (16 months ago) |
parents | a3c45ab9082e |
children |
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" |
pascal@23974 | 9 WEB_SITE="https://libimobiledevice.org" |
slaxemulator@11736 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@25028 | 11 WGET_URL="https://cgit.sukimashita.com/libimobiledevice.git/snapshot/$TARBALL" |
slaxemulator@11736 | 12 |
slaxemulator@11736 | 13 DEPENDS="gnutls glib libplist usbmuxd" |
pascal@20584 | 14 BUILD_DEPENDS="gnutls-dev glib-dev libplist-dev usbmuxd-dev python-dev swig \ |
pascal@20584 | 15 libgnutls" |
slaxemulator@11736 | 16 |
pascal@24083 | 17 current_version() |
pascal@24083 | 18 { |
pascal@24083 | 19 wget -O - https://github.com/libimobiledevice/libimobiledevice 2>/dev/null | \ |
pascal@24083 | 20 sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q' |
pascal@24083 | 21 } |
pascal@24083 | 22 |
slaxemulator@11736 | 23 # Rules to configure and make the package. |
slaxemulator@11736 | 24 compile_rules() |
slaxemulator@11736 | 25 { |
slaxemulator@11736 | 26 patch -Np1 -i $stuff/swig-version-check.patch |
samuel_trassare@11775 | 27 ./configure \ |
al@18077 | 28 $CONFIGURE_ARGS && |
al@18077 | 29 make && |
samuel_trassare@11775 | 30 make install |
slaxemulator@11736 | 31 } |
slaxemulator@11736 | 32 |
slaxemulator@11736 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11736 | 34 genpkg_rules() |
slaxemulator@11736 | 35 { |
slaxemulator@11736 | 36 mkdir -p $fs/usr/lib |
slaxemulator@11736 | 37 cp -a $install/usr/bin $fs/usr |
slaxemulator@11736 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@11736 | 39 cp -a $install/usr/lib/python* $fs/usr/lib |
slaxemulator@11736 | 40 } |