wok-current view drakon-editor/receipt @ rev 24970
created recipe for midori-lang
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 26 14:49:30 2022 +0100 (2022-04-26) |
parents | 7310f1493655 |
children | 7dd01dedad38 |
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="http://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 }