wok-6.x annotate libplist/receipt @ rev 25391
updated usb-modeswitch-data (20170806 -> 20191128)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Aug 01 15:21:41 2022 +0100 (2022-08-01) |
parents | ede1d184d5c5 |
children |
rev | line source |
---|---|
slaxemulator@6348 | 1 # SliTaz package receipt. |
slaxemulator@6348 | 2 |
slaxemulator@6348 | 3 PACKAGE="libplist" |
Hans-G?nter@24822 | 4 VERSION="2.2.0" |
slaxemulator@6348 | 5 CATEGORY="multimedia" |
Hans-G?nter@21273 | 6 SHORT_DESC="A library to handle Apple Property List format whereas it's binary or XML" |
slaxemulator@6348 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14716 | 8 LICENSE="GPL2" |
Hans-G?nter@21273 | 9 WEB_SITE="https://libimobiledevice.org/" |
Hans-G?nter@21273 | 10 |
Hans-G?nter@24822 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@24822 | 12 WGET_URL="https://github.com/libimobiledevice/$PACKAGE/archive/$VERSION.tar.gz" |
slaxemulator@6348 | 13 |
pascal@14716 | 14 DEPENDS="glib libxml2" |
Hans-G?nter@21273 | 15 #BUILD_DEPENDS="glib-dev libxml2-dev cmake swig python python-dev " |
Hans-G?nter@24822 | 16 BUILD_DEPENDS="automake file gawk glib-dev libtool libxml2-dev python python-dev" |
pascal@14716 | 17 |
pascal@24447 | 18 # What is the latest version available today? |
pascal@24447 | 19 current_version() |
pascal@24447 | 20 { |
pascal@24447 | 21 wget -O - https://github.com/libimobiledevice/libplist/tags 2>/dev/null | \ |
pascal@24447 | 22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24447 | 23 } |
pascal@24447 | 24 |
slaxemulator@6348 | 25 # Rules to configure and make the package. |
slaxemulator@6348 | 26 compile_rules() |
slaxemulator@6348 | 27 { |
Hans-G?nter@24822 | 28 ./autogen.sh && |
Hans-G?nter@24822 | 29 ./configure LIBS=-lm && |
Hans-G?nter@24822 | 30 make && |
Hans-G?nter@24822 | 31 make install DESTDIR=$DESTDIR |
slaxemulator@6348 | 32 } |
slaxemulator@6348 | 33 |
slaxemulator@6348 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6348 | 35 genpkg_rules() |
slaxemulator@6348 | 36 { |
slaxemulator@6348 | 37 mkdir -p $fs/usr/lib |
Hans-G?nter@21273 | 38 |
Hans-G?nter@24822 | 39 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21273 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib/ |
Hans-G?nter@21275 | 41 # cp -a $install/usr/lib/python* $fs/usr/lib |
slaxemulator@6348 | 42 } |