wok annotate xdotool/receipt @ rev 23607

Up slitaz-boot-scripts (459)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 12 10:18:55 2020 +0000 (2020-04-12)
parents 6135577f4d08
children 5ea0ce1cecc0
rev   line source
jozee@2731 1 # SliTaz package receipt.
jozee@2731 2
jozee@2731 3 PACKAGE="xdotool"
Hans-G?nter@22159 4 VERSION="3.20160805.1"
jozee@2731 5 CATEGORY="misc"
Hans-G?nter@22159 6 SHORT_DESC="Fake keyboard and mouse input, window management, and more."
jozee@2731 7 MAINTAINER="jozee@slitaz.org"
pascal@15601 8 LICENSE="BSD"
Hans-G?nter@22159 9 WEB_SITE="https://www.github.com/jordansissel/xdotool/"
Hans-G?nter@22159 10
jozee@2731 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@22159 12 WGET_URL="${WEB_SITE}releases/download/v$VERSION/$TARBALL"
jozee@2731 13
pascal@15601 14 DEPENDS="xorg-libX11 xorg-libXtst"
Hans-G?nter@22159 15 BUILD_DEPENDS="libxkbcommon-dev xorg-libX11-dev xorg-libXtst-dev xorg-libXtst"
pascal@15601 16
jozee@2731 17 # Rules to configure and make the package.
jozee@2731 18 compile_rules()
jozee@2731 19 {
pascal@20212 20 sed -i 's|uname -m|echo i486|' Makefile
Hans-G?nter@22159 21 make PREFIX=/usr &&
Hans-G?nter@22159 22 make install \
Hans-G?nter@22159 23 PREFIX=/usr \
Hans-G?nter@22159 24 INSTALLMAN=/usr/share/man \
Hans-G?nter@22159 25 DESTDIR=$DESTDIR
jozee@2731 26 }
jozee@2731 27
jozee@2731 28 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2731 29 genpkg_rules()
jozee@2731 30 {
llevrel@19005 31 mkdir -p $fs/usr
Hans-G?nter@22159 32
Hans-G?nter@22159 33 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22159 34 cp -a $install/usr/lib $fs/usr
jozee@2731 35 }