wok-current annotate xautomation/receipt @ rev 24565
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 25 22:15:31 2022 +0000 (2022-02-25) |
parents | cec338a724ee |
children | fff755dd0f58 |
rev | line source |
---|---|
pankso@16420 | 1 # SliTaz package receipt. |
pankso@16420 | 2 |
pankso@16420 | 3 PACKAGE="xautomation" |
pankso@16420 | 4 VERSION="1.09" |
pankso@16420 | 5 CATEGORY="x-window" |
pankso@16420 | 6 SHORT_DESC="Control X from the command line for scripts (fte, visgrep)." |
pankso@16420 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16420 | 8 LICENSE="GPL2" |
pankso@16420 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@16420 | 10 WEB_SITE="http://hoopajoo.net/projects/xautomation.html" |
pankso@16420 | 11 WGET_URL="http://hoopajoo.net/static/projects/$TARBALL" |
pankso@16420 | 12 #HOST_ARCH="i486 arm" |
pankso@16420 | 13 |
pascal@16426 | 14 DEPENDS="xorg-libX11 libpng" |
pascal@16426 | 15 BUILD_DEPENDS="xorg-libX11-dev libpng-dev" |
pankso@16420 | 16 |
pascal@24565 | 17 # What is the latest version available today? |
pascal@24565 | 18 current_version() |
pascal@24565 | 19 { |
pascal@24565 | 20 wget --no-check-certificate -O - https://www.hoopajoo.net/projects/xautomation.html 2>/dev/null | \ |
pascal@24565 | 21 sed '/xautomation-/!d;s|.*xautomation-||;s|.tar.*||;q' |
pascal@24565 | 22 } |
pascal@24565 | 23 |
pankso@16420 | 24 # Rules to configure and make the package. |
pankso@16420 | 25 compile_rules() |
pankso@16420 | 26 { |
pankso@16420 | 27 ./configure $CONFIGURE_ARGS && |
pankso@16420 | 28 make && make install |
pankso@16420 | 29 } |
pankso@16420 | 30 |
pankso@16420 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16420 | 32 genpkg_rules() |
pankso@16420 | 33 { |
pankso@16420 | 34 mkdir -p $fs/usr |
pankso@16420 | 35 cp -a $install/usr/bin $fs/usr |
pankso@16420 | 36 } |