# SliTaz package receipt. PACKAGE="xbindkeys" VERSION="1.8.7" CATEGORY="x-window" TAGS="keyboard" MAINTAINER="jozee@slitaz.org" LICENSE="GPL2" SHORT_DESC="Launch shell commands with your keyboard or your mouse under X." WEB_SITE="https://www.nongnu.org/xbindkeys" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/$TARBALL" DEPENDS="xorg-libX11" BUILD_DEPENDS="xorg-libX11-dev" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*} 2>/dev/null | \ sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q" } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ --disable-tk \ --disable-guile && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_folders bin }