# SliTaz package receipt. PACKAGE="gmrun" VERSION="0.9.2" CATEGORY="utilities" SHORT_DESC="Program launcher with autocompletion." MAINTAINER="rocky@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://github.com/WdesktopX/gmrun" WGET_URL="$SF_MIRROR/gmrun/$TARBALL" HOST_ARCH="i486 arm" DEPENDS="gtk+ gcc-lib-base popt" BUILD_DEPENDS="gtk+-dev popt-dev" # What is the latest version available today? current_version() { wget -O - https://github.com/WdesktopX/gmrun/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { cd $src while read file; do [ -f done.$file ] && continue echo "Apply $file..." patch -p1 < $stuff/$file || return 1 touch done.$file done <