wok-6.x view xbindkeys/receipt @ rev 24777

jack1: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 16:54:56 2022 +0000 (2022-03-19)
parents 17091bc7c301
children a1b325803d65
line source
1 # SliTaz package receipt.
3 PACKAGE="xbindkeys"
4 VERSION="1.8.6"
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 DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 }