wok-6.x view gitso/receipt @ rev 24666
created recipes for double-conversion and double-conversion-dev
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 15:40:49 2022 +0100 (2022-03-11) |
parents | c49ffc024a6c |
children | e1e1678c5265 |
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_list_item/!d;s|.*commits/\(.......\).*|\1|;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 }