wok annotate libexif-gtk/receipt @ rev 24908
updated mjpegtools and mjpegtools-dev (2.1.0 -> 2.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 15:21:07 2022 +0100 (2022-04-09) |
parents | 65d7d867e0c1 |
children | 5db546345599 |
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@24740 | 4 VERSION="0.5.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@24740 | 7 MAINTAINER="maintainer@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@24740 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@24740 | 12 WGET_URL="https://github.com/libexif/$PACKAGE/releases/download/v$VERSION/$TARBALL" |
Hans-G?nter@21181 | 13 |
Hans-G?nter@24740 | 14 DEPENDS="gtk+ libexif libxml2" |
Hans-G?nter@24740 | 15 BUILD_DEPENDS="file gtk+-dev libexif-dev libxml2-dev" |
Hans-G?nter@24740 | 16 |
Hans-G?nter@21181 | 17 HOST_ARCH="i486 arm" |
Hans-G?nter@21181 | 18 |
pascal@24411 | 19 # What is the latest version available today? |
pascal@24411 | 20 current_version() |
pascal@24411 | 21 { |
pascal@24411 | 22 wget -O - https://sourceforge.net/projects/libexif/files/libexif-gtk/ 2>/dev/null | \ |
pascal@24411 | 23 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24411 | 24 sed '/scope="row/!d;s|.*/libexif-gtk/||;s|/.*||;q' |
pascal@24411 | 25 } |
pascal@24411 | 26 |
Hans-G?nter@21181 | 27 # Rules to configure and make the package. |
Hans-G?nter@21181 | 28 compile_rules() |
Hans-G?nter@21181 | 29 { |
Hans-G?nter@21181 | 30 # By default build with gtk2 |
Hans-G?nter@21181 | 31 ./configure && |
Hans-G?nter@24740 | 32 make && |
Hans-G?nter@21181 | 33 make install |
Hans-G?nter@21181 | 34 } |
Hans-G?nter@21181 | 35 |
Hans-G?nter@21181 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@21181 | 37 genpkg_rules() |
Hans-G?nter@21181 | 38 { |
Hans-G?nter@24740 | 39 cook_copy_files *.so* |
Hans-G?nter@21181 | 40 } |