wok view xbindkeys/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents ad9008f821da
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xbindkeys"
4 VERSION="1.8.7"
5 CATEGORY="x-window"
6 TAGS="keyboard"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 SHORT_DESC="Launch shell commands with your keyboard or your mouse under X."
10 WEB_SITE="https://www.nongnu.org/xbindkeys"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/$TARBALL"
15 DEPENDS="xorg-libX11"
16 BUILD_DEPENDS="xorg-libX11-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
23 }
25 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 --disable-tk \
32 --disable-guile &&
33 make &&
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders bin
41 }