wok view xdotool/receipt @ rev 25506
memtest, pack: cleanup
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 09 16:28:01 2023 +0000 (21 months ago) |
parents | ef8e00335e1e |
children | 0262035dc1e7 |
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 }