wok view xbindkeys/receipt @ rev 24497
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 19 14:19:02 2022 +0000 (2022-02-19) |
parents | 5e2ff29a06d7 |
children | ad9008f821da |
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-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed 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 }