wok-6.x view geeqie/receipt @ rev 25375
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 30 08:30:06 2022 +0000 (2022-07-30) |
parents | 544e47246b33 |
children | 7dd01dedad38 |
line source
1 # SliTaz package receipt.
3 PACKAGE="geeqie"
4 VERSION="1.0"
5 CATEGORY="utilities"
6 SHORT_DESC="Application designed to test GTK+ performance. based on gqview"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://geeqie.sourceforge.net/"
11 WGET_URL="https://github.com/BestImageViewer/geeqie/archive/refs/tags/v$VERSION.tar.gz"
13 DEPENDS="gtk+ lcms"
14 BUILD_DEPENDS="gettext intltool gtk+-dev lcms-dev wget automake"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/BestImageViewer/geeqie/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./autogen.sh
28 ./configure --prefix=/usr --infodir=/usr/share/info \
29 --mandir=/usr/share/man $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 cp -a $install/usr/share/ $fs/usr
41 }