wok view gpicview/receipt @ rev 24389
updated c-ares and c-ares-dev (1.15.0 -> 1.18.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 07 17:27:32 2022 +0100 (2022-02-07) |
parents | 7317c4a06c89 |
children | 942f66f38758 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gpicview"
4 VERSION="0.2.5"
5 CATEGORY="graphics"
6 TAGS="LXDE viewer"
7 SHORT_DESC="Lightweight image viewer."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://lxde.sourceforge.net/gpicview/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
15 DEPENDS="gtk+ expat glib libgio libpng jpeg zlib"
16 BUILD_DEPENDS="gtk+-dev expat-dev glib-dev libgio-dev libpng-dev jpeg-dev"
17 HOST_ARCH="i486 arm"
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/lxde/files/GPicView%20%28image%20Viewer%29/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/share
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/share/$PACKAGE $fs/usr/share
41 }