wok annotate geeqie/receipt @ rev 24891

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