# SliTaz package receipt. PACKAGE="sxiv" VERSION="26" CATEGORY="graphics" SHORT_DESC="Simple X Image Viewer." LICENSE="GPL2" MAINTAINER="paul@slitaz.org" WEB_SITE="https://github.com/muennich/sxiv" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" DEPENDS="giflib imlib2 libexif xdg-utils" BUILD_DEPENDS="bzip2 giflib-dev imlib2-dev libexif-dev xorg-dev" current_version() { wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { make && make PREFIX=/usr DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share cp -a $install/usr/bin $fs/usr cp -a $install/usr/share/sxiv $fs/usr/share }