wok-6.x annotate xbindkeys/receipt @ rev 24626
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 07 17:32:18 2022 +0000 (2022-03-07) |
parents | 17091bc7c301 |
children | a1b325803d65 |
rev | line source |
---|---|
pascal@11204 | 1 # SliTaz package receipt. |
pascal@11204 | 2 |
pascal@11204 | 3 PACKAGE="xbindkeys" |
Hans-G?nter@22153 | 4 VERSION="1.8.6" |
pascal@11204 | 5 CATEGORY="x-window" |
Hans-G?nter@22153 | 6 TAGS="keyboard" |
pascal@11204 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
Hans-G?nter@22153 | 9 SHORT_DESC="Launch shell commands with your keyboard or your mouse under X." |
Hans-G?nter@22153 | 10 WEB_SITE="https://www.nongnu.org/xbindkeys" |
Hans-G?nter@22153 | 11 |
pascal@11204 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11204 | 13 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@11204 | 14 |
pascal@15579 | 15 DEPENDS="xorg-libX11" |
Hans-G?nter@22153 | 16 BUILD_DEPENDS="xorg-libX11-dev" |
pascal@15579 | 17 |
pascal@24415 | 18 # What is the latest version available today? |
pascal@24415 | 19 current_version() |
pascal@24415 | 20 { |
pascal@24415 | 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24626 | 22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q" |
pascal@24415 | 23 } |
pascal@24415 | 24 |
pascal@11204 | 25 # Rules to configure and make the package. |
pascal@11204 | 26 |
Hans-G?nter@22153 | 27 compile_rules() |
Hans-G?nter@22153 | 28 { |
Hans-G?nter@22153 | 29 ./configure \ |
Hans-G?nter@22153 | 30 --prefix=/usr \ |
Hans-G?nter@22153 | 31 --disable-tk \ |
Hans-G?nter@22153 | 32 --disable-guile && |
pascal@15579 | 33 make && |
pascal@15579 | 34 make DESTDIR=$DESTDIR install |
pascal@11204 | 35 } |
pascal@11204 | 36 |
pascal@11204 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11204 | 38 genpkg_rules() |
pascal@11204 | 39 { |
pascal@11204 | 40 mkdir -p $fs/usr |
pascal@15579 | 41 cp -a $install/usr/bin $fs/usr |
pascal@11204 | 42 } |