wok view gitso/receipt @ rev 25264
updated re2c (1.3 -> 3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 08:59:55 2022 +0100 (2022-07-15) |
parents | 34e801e0eb52 |
children | a66f312c374b |
line source
1 # SliTaz package receipt.
3 PACKAGE="gitso"
4 VERSION="0.6"
5 CATEGORY="network"
6 SHORT_DESC="Frontend to reverse VNC connections."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="${PACKAGE}_${VERSION}_src.tar.bz2"
10 WEB_SITE="https://github.com/AustP/Gitso"
11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gitso/$TARBALL"
12 CONFIG_FILES="/etc/gitso-hosts"
14 DEPENDS="x11vnc vncviewer wxpython"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
20 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/applications $fs/usr/share/gitso $fs/usr/bin $fs/etc
27 cp $src/*.py $fs/usr/share/gitso
28 cp $src/icon.* $fs/usr/share/gitso
29 cp $src/arch/linux/gitso.desktop $fs/usr/share/applications
30 cp $src/arch/linux/gitso $fs/usr/bin
31 touch $fs/etc/gitso-hosts
32 chmod 755 $fs/usr/bin/gitso
33 chmod a+r $fs/usr/share/*/*
34 }