wok-current view xdotool/receipt @ rev 24110
rdesktop: add debian patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 28 10:48:56 2021 +0000 (2021-09-28) |
parents | ef8e00335e1e |
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 current_version()
18 {
19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|uname -m|echo i486|' Makefile
27 make PREFIX=/usr &&
28 make install \
29 PREFIX=/usr \
30 INSTALLMAN=/usr/share/man \
31 DESTDIR=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib $fs/usr
41 }