wok view xdotool/receipt @ rev 25601

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 18:06:38 2023 +0000 (16 months ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="xdotool"
4 VERSION="3.20160805.1"
5 CATEGORY="misc"
6 SHORT_DESC="Fake keyboard and mouse input, window management, and more."
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.github.com/jordansissel/xdotool/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}releases/download/v$VERSION/$TARBALL"
14 DEPENDS="xorg-libX11 xorg-libXtst"
15 BUILD_DEPENDS="libxkbcommon-dev xorg-libX11-dev xorg-libXtst-dev xorg-libXtst"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|uname -m|echo i486|' Makefile
28 make PREFIX=/usr &&
29 make install \
30 PREFIX=/usr \
31 INSTALLMAN=/usr/share/man \
32 DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib $fs/usr
42 }