wok-current annotate transset-df/receipt @ rev 24072
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 17:56:16 2021 +0000 (2021-07-07) |
parents | 964f02720633 |
children | 5926178cd6fa |
rev | line source |
---|---|
pankso@359 | 1 # SliTaz package receipt. |
pankso@359 | 2 |
pankso@359 | 3 PACKAGE="transset-df" |
pankso@359 | 4 VERSION="6" |
pankso@359 | 5 CATEGORY="x-window" |
pankso@359 | 6 SHORT_DESC="Tool to set windows opacity." |
pankso@359 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15601 | 8 LICENSE="MIT" |
pascal@15601 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@15601 | 10 WEB_SITE="http://www.forchheimer.se/transset-df/" |
pascal@15601 | 11 WGET_URL="http://www.forchheimer.se/transset-df/$TARBALL" |
pankso@16382 | 12 HOST_ARCH="i486 arm" |
pascal@15601 | 13 |
pascal@5007 | 14 DEPENDS="xorg-libXdamage xorg-libXcomposite xorg-xcompmgr xorg-libXrender \ |
pascal@5007 | 15 xorg-libXext" |
pankso@359 | 16 BUILD_DEPENDS="xorg-libXdamage-dev xorg-libXcomposite-dev" |
pankso@359 | 17 |
pascal@24072 | 18 current_version() |
pascal@24072 | 19 { |
pascal@24072 | 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 21 sed "/rc[0-9]/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 22 } |
pascal@24072 | 23 |
pankso@359 | 24 # Rules to configure and make the package. |
pankso@359 | 25 compile_rules() |
pankso@359 | 26 { |
pankso@359 | 27 make |
pankso@359 | 28 } |
pankso@359 | 29 |
pankso@359 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@359 | 31 genpkg_rules() |
pankso@359 | 32 { |
pankso@359 | 33 mkdir -p $fs/usr/bin |
pankso@359 | 34 cp -a $src/transset-df $fs/usr/bin |
pankso@359 | 35 } |