wok-6.x view gpicview/receipt @ rev 24596
updated gftp (2.0.19 -> 2.9.1b)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 01 15:53:52 2022 +0100 (2022-03-01) |
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 }