wok view gitso/receipt @ rev 25780

Add apultra & lzav
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 23 14:15:08 2024 +0000 (2 months ago)
parents e1e1678c5265
children
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 's|",|&\n|g' | sed '/committedDate/!d;s|.*":"||;s|T.*||;s|-||g;q'
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 }