wok-6.x annotate 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
rev   line source
pascal@19841 1 # SliTaz package receipt.
pascal@19841 2
pascal@19841 3 PACKAGE="gitso"
pascal@19841 4 VERSION="0.6"
pascal@19841 5 CATEGORY="network"
pascal@19841 6 SHORT_DESC="Frontend to reverse VNC connections."
pascal@19841 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@19841 8 LICENSE="GPL3"
pascal@19841 9 TARBALL="${PACKAGE}_${VERSION}_src.tar.bz2"
pascal@20689 10 WEB_SITE="https://github.com/AustP/Gitso"
pascal@19842 11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gitso/$TARBALL"
pascal@19841 12 CONFIG_FILES="/etc/gitso-hosts"
pascal@19841 13
pascal@19841 14 DEPENDS="x11vnc vncviewer wxpython"
pascal@19841 15
pascal@24497 16 # What is the latest version available today?
pascal@24497 17 current_version()
pascal@24497 18 {
pascal@24497 19 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
pascal@24497 20 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
pascal@24497 21 }
pascal@24497 22
pascal@19841 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@19841 24 genpkg_rules()
pascal@19841 25 {
pascal@19841 26 mkdir -p $fs/usr/share/applications $fs/usr/share/gitso $fs/usr/bin $fs/etc
pascal@19841 27 cp $src/*.py $fs/usr/share/gitso
pascal@19841 28 cp $src/icon.* $fs/usr/share/gitso
pascal@19841 29 cp $src/arch/linux/gitso.desktop $fs/usr/share/applications
pascal@19841 30 cp $src/arch/linux/gitso $fs/usr/bin
pascal@19841 31 touch $fs/etc/gitso-hosts
pascal@19841 32 chmod 755 $fs/usr/bin/gitso
pascal@19841 33 chmod a+r $fs/usr/share/*/*
pascal@19841 34 }