# SliTaz package receipt. PACKAGE="xdotool" VERSION="3.20160805.1" CATEGORY="misc" SHORT_DESC="Fake keyboard and mouse input, window management, and more." MAINTAINER="jozee@slitaz.org" LICENSE="BSD" WEB_SITE="https://www.github.com/jordansissel/xdotool/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}releases/download/v$VERSION/$TARBALL" DEPENDS="xorg-libX11 xorg-libXtst" BUILD_DEPENDS="libxkbcommon-dev xorg-libX11-dev xorg-libXtst-dev xorg-libXtst" current_version() { wget -O - ${WGET_URL%/down*} 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { sed -i 's|uname -m|echo i486|' Makefile make PREFIX=/usr && make install \ PREFIX=/usr \ INSTALLMAN=/usr/share/man \ DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib $fs/usr }