wok-current view drakon-editor/receipt @ rev 25672
patch tazpkg, upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 17:58:42 2024 +0000 (5 months ago) |
parents | 640a2eba2511 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="drakon-editor"
4 VERSION="1.31"
5 CATEGORY="development"
6 SHORT_DESC="A visual language for specifications from the Russian space program."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="PublicDomain"
9 WEB_SITE="https://drakon-editor.sourceforge.net/"
11 TARBALL="drakon_editor$VERSION.zip"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="libsqlite-tcl libtkimg tcllib tk"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/drakon-editor/files/ 2>/dev/null | \
20 sed '/scope="row/!d;/examples/d;s|.*/drakon_editor||;s|.zip.*||;q'
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/applications
28 cp -a $src $fs/usr/share/$PACKAGE
29 cat > $fs/usr/share/applications/$PACKAGE.desktop <<EOT
30 [Desktop Entry]
31 Type=Application
32 Name=Drakon diagram editor
33 Name[fr]=Editeur de diagrammes Drakon
34 Exec=/usr/share/$PACKAGE/drakon_editor.tcl %f
35 Categories=Development;Building;
36 EOT
37 }