wok-6.x annotate libexif-gtk/receipt @ rev 24697
updated kbd, kbd-base, kbd-busybox and kbd-vlock (2.2.0 -> 2.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 13 17:45:34 2022 +0100 (2022-03-13) |
parents | 97cea0db1214 |
children | 69d0a23c9258 |
rev | line source |
---|---|
Hans-G?nter@21181 | 1 # SliTaz package receipt. |
Hans-G?nter@21181 | 2 |
Hans-G?nter@21181 | 3 PACKAGE="libexif-gtk" |
Hans-G?nter@21181 | 4 VERSION="0.4.0" |
Hans-G?nter@21181 | 5 CATEGORY="graphics" |
Hans-G?nter@21181 | 6 SHORT_DESC="A library of widgets to help display EXIF tags in GTK programs." |
Hans-G?nter@21181 | 7 MAINTAINER="developer@slitaz.org" |
Hans-G?nter@21181 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@21181 | 9 WEB_SITE="https://libexif.github.io/" |
Hans-G?nter@21181 | 10 |
Hans-G?nter@21181 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@21181 | 12 WGET_URL="$SF_MIRROR/libexif/$TARBALL" |
Hans-G?nter@21181 | 13 |
Hans-G?nter@21185 | 14 DEPENDS="gtk+ libexif" |
Hans-G?nter@21185 | 15 BUILD_DEPENDS="file gtk+-dev libexif-dev" |
Hans-G?nter@21181 | 16 HOST_ARCH="i486 arm" |
Hans-G?nter@21181 | 17 |
pascal@24411 | 18 # What is the latest version available today? |
pascal@24411 | 19 current_version() |
pascal@24411 | 20 { |
pascal@24411 | 21 wget -O - https://sourceforge.net/projects/libexif/files/libexif-gtk/ 2>/dev/null | \ |
pascal@24411 | 22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24411 | 23 sed '/scope="row/!d;s|.*/libexif-gtk/||;s|/.*||;q' |
pascal@24411 | 24 } |
pascal@24411 | 25 |
Hans-G?nter@21181 | 26 # Rules to configure and make the package. |
Hans-G?nter@21181 | 27 compile_rules() |
Hans-G?nter@21181 | 28 { |
Hans-G?nter@21181 | 29 # By default build with gtk2 |
Hans-G?nter@21181 | 30 ./configure && |
Hans-G?nter@21181 | 31 make -j 1 && |
Hans-G?nter@21181 | 32 make install |
Hans-G?nter@21181 | 33 } |
Hans-G?nter@21181 | 34 |
Hans-G?nter@21181 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@21181 | 36 genpkg_rules() |
Hans-G?nter@21181 | 37 { |
Hans-G?nter@21181 | 38 mkdir -p $fs/usr/lib |
Hans-G?nter@21181 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21181 | 40 } |