wok annotate xdotool/receipt @ rev 25703
some perl-*: update web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 04 16:09:04 2024 +0000 (4 months ago) |
parents | 5ea0ce1cecc0 |
children |
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 |
pascal@25601 | 17 # What is the latest version available today? |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@25601 | 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
jozee@2731 | 24 # Rules to configure and make the package. |
jozee@2731 | 25 compile_rules() |
jozee@2731 | 26 { |
pascal@20212 | 27 sed -i 's|uname -m|echo i486|' Makefile |
Hans-G?nter@22159 | 28 make PREFIX=/usr && |
Hans-G?nter@22159 | 29 make install \ |
Hans-G?nter@22159 | 30 PREFIX=/usr \ |
Hans-G?nter@22159 | 31 INSTALLMAN=/usr/share/man \ |
Hans-G?nter@22159 | 32 DESTDIR=$DESTDIR |
jozee@2731 | 33 } |
jozee@2731 | 34 |
jozee@2731 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2731 | 36 genpkg_rules() |
jozee@2731 | 37 { |
llevrel@19005 | 38 mkdir -p $fs/usr |
Hans-G?nter@22159 | 39 |
Hans-G?nter@22159 | 40 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22159 | 41 cp -a $install/usr/lib $fs/usr |
jozee@2731 | 42 } |