wok annotate gpicview/receipt @ rev 25625
Add opendkim (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 08 17:14:09 2023 +0000 (14 months ago) |
parents | 942f66f38758 |
children |
rev | line source |
---|---|
pankso@257 | 1 # SliTaz package receipt. |
pankso@257 | 2 |
pankso@257 | 3 PACKAGE="gpicview" |
Hans-G?nter@20992 | 4 VERSION="0.2.5" |
pankso@257 | 5 CATEGORY="graphics" |
Hans-G?nter@20992 | 6 TAGS="LXDE viewer" |
Hans-G?nter@20992 | 7 SHORT_DESC="Lightweight image viewer." |
pankso@257 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15000 | 9 LICENSE="GPL2" |
pascal@25466 | 10 WEB_SITE="https://lxde.sourceforge.net/gpicview/" |
Hans-G?nter@20992 | 11 |
Hans-G?nter@20993 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@15000 | 13 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
pascal@15000 | 14 |
pankso@16261 | 15 DEPENDS="gtk+ expat glib libgio libpng jpeg zlib" |
pankso@16261 | 16 BUILD_DEPENDS="gtk+-dev expat-dev glib-dev libgio-dev libpng-dev jpeg-dev" |
Hans-G?nter@20992 | 17 HOST_ARCH="i486 arm" |
pankso@257 | 18 |
pascal@25605 | 19 # What is the latest version available today? |
pascal@24071 | 20 current_version() |
pascal@24071 | 21 { |
pascal@24071 | 22 wget -O - https://sourceforge.net/projects/lxde/files/GPicView%20%28image%20Viewer%29/ 2>/dev/null | \ |
pascal@25605 | 23 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24071 | 24 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24071 | 25 } |
pascal@24071 | 26 |
pankso@257 | 27 # Rules to configure and make the package. |
pankso@257 | 28 compile_rules() |
pankso@257 | 29 { |
pankso@257 | 30 ./configure \ |
pascal@2516 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@20992 | 32 make -j 1 && |
Hans-G?nter@20992 | 33 make install |
pankso@257 | 34 } |
pankso@257 | 35 |
pankso@257 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@257 | 37 genpkg_rules() |
pankso@257 | 38 { |
pankso@257 | 39 mkdir -p $fs/usr/share |
Hans-G?nter@20992 | 40 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@20992 | 41 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
pankso@257 | 42 } |