wok annotate drakon-editor/receipt @ rev 25638

Up tinyssh (20240101 CVE-2023-48795)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 05 10:31:44 2024 +0000 (10 months ago)
parents 640a2eba2511
children
rev   line source
pascal@18653 1 # SliTaz package receipt.
pascal@18653 2
pascal@18653 3 PACKAGE="drakon-editor"
Hans-G?nter@22740 4 VERSION="1.31"
pascal@18653 5 CATEGORY="development"
Hans-G?nter@22740 6 SHORT_DESC="A visual language for specifications from the Russian space program."
pascal@18653 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18653 8 LICENSE="PublicDomain"
pascal@25460 9 WEB_SITE="https://drakon-editor.sourceforge.net/"
Hans-G?nter@20852 10
pascal@18653 11 TARBALL="drakon_editor$VERSION.zip"
pascal@18653 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@18653 13
Hans-G?nter@22740 14 DEPENDS="libsqlite-tcl libtkimg tcllib tk"
pascal@18653 15
pascal@24385 16 # What is the latest version available today?
pascal@24385 17 current_version()
pascal@24385 18 {
pascal@24385 19 wget -O - https://sourceforge.net/projects/drakon-editor/files/ 2>/dev/null | \
pascal@24385 20 sed '/scope="row/!d;/examples/d;s|.*/drakon_editor||;s|.zip.*||;q'
pascal@24385 21 }
pascal@24385 22
pascal@18653 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18653 24 genpkg_rules()
pascal@18653 25 {
pascal@18653 26 mkdir -p $fs/usr/share/applications
Hans-G?nter@22740 27
Hans-G?nter@22740 28 cp -a $src $fs/usr/share/$PACKAGE
pascal@18653 29 cat > $fs/usr/share/applications/$PACKAGE.desktop <<EOT
pascal@18653 30 [Desktop Entry]
pascal@18653 31 Type=Application
pascal@18653 32 Name=Drakon diagram editor
pascal@18653 33 Name[fr]=Editeur de diagrammes Drakon
pascal@18653 34 Exec=/usr/share/$PACKAGE/drakon_editor.tcl %f
pascal@18653 35 Categories=Development;Building;
pascal@18653 36 EOT
pascal@18653 37 }