wok-current annotate gitso/receipt @ rev 25733
Accept licence PyQt-x11-gpl, bump firmware* to 20240610, build imagemagick (merge)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Dec 20 16:13:23 2024 +0000 (7 days ago) |
parents | 34e801e0eb52 |
children |
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@24974 | 20 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d |
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 } |