# SliTaz package receipt. PACKAGE="geeqie" VERSION="1.0" CATEGORY="utilities" SHORT_DESC="Application designed to test GTK+ performance. based on gqview" MAINTAINER="devl547@gmail.com" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://geeqie.sourceforge.net/" WGET_URL="https://github.com/BestImageViewer/geeqie/archive/refs/tags/v$VERSION.tar.gz" DEPENDS="gtk+ lcms" BUILD_DEPENDS="gettext intltool gtk+-dev lcms-dev wget automake" # What is the latest version available today? current_version() { wget -O - https://github.com/BestImageViewer/geeqie/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { cd $src ./autogen.sh ./configure --prefix=/usr --infodir=/usr/share/info \ --mandir=/usr/share/man $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/ cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib $fs/usr cp -a $install/usr/share/ $fs/usr }