wok annotate gpicview/receipt @ rev 24656
updated iaxmodem (1.3.0 -> 1.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 07:18:43 2022 +0100 (2022-03-11) |
parents | 7317c4a06c89 |
children | 942f66f38758 |
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" |
Hans-G?nter@20992 | 10 WEB_SITE="http://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@24071 | 19 current_version() |
pascal@24071 | 20 { |
pascal@24071 | 21 wget -O - https://sourceforge.net/projects/lxde/files/GPicView%20%28image%20Viewer%29/ 2>/dev/null | \ |
pascal@24071 | 22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24071 | 23 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" |
pascal@24071 | 24 } |
pascal@24071 | 25 |
pankso@257 | 26 # Rules to configure and make the package. |
pankso@257 | 27 compile_rules() |
pankso@257 | 28 { |
pankso@257 | 29 ./configure \ |
pascal@2516 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@20992 | 31 make -j 1 && |
Hans-G?nter@20992 | 32 make install |
pankso@257 | 33 } |
pankso@257 | 34 |
pankso@257 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@257 | 36 genpkg_rules() |
pankso@257 | 37 { |
pankso@257 | 38 mkdir -p $fs/usr/share |
Hans-G?nter@20992 | 39 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@20992 | 40 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
pankso@257 | 41 } |