wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="transset-df"
4 VERSION="6"
5 CATEGORY="x-window"
6 SHORT_DESC="Tool to set windows opacity."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.forchheimer.se/transset-df/"
11 WGET_URL="http://www.forchheimer.se/transset-df/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="xorg-libXdamage xorg-libXcomposite xorg-xcompmgr xorg-libXrender \
15 xorg-libXext"
16 BUILD_DEPENDS="xorg-libXdamage-dev xorg-libXcomposite-dev"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/rc[0-9]/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $src/transset-df $fs/usr/bin
35 }