wok-6.x annotate xbindkeys/receipt @ rev 25432
motion: adapted configuration parameters to version 4.4.0
author | Hans-G?nter Theisgen |
---|---|
date | Sun Aug 21 17:07:48 2022 +0100 (2022-08-21) |
parents | ad9008f821da |
children |
rev | line source |
---|---|
pascal@11204 | 1 # SliTaz package receipt. |
pascal@11204 | 2 |
pascal@11204 | 3 PACKAGE="xbindkeys" |
Hans-G?nter@25429 | 4 VERSION="1.8.7" |
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 && |
Hans-G?nter@25429 | 34 make install DESTDIR=$DESTDIR |
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 { |
Hans-G?nter@25429 | 40 cook_copy_folders bin |
pascal@11204 | 41 } |