SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "drakon-editor"

# SliTaz package receipt.

PACKAGE="drakon-editor"
VERSION="1.31"
CATEGORY="development"
SHORT_DESC="A visual language for specifications from the Russian space program."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="PublicDomain"
WEB_SITE="https://drakon-editor.sourceforge.net/"

TARBALL="drakon_editor$VERSION.zip"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="libsqlite-tcl libtkimg tcllib tk"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/drakon-editor/files/ 2>/dev/null | \
    sed '/scope="row/!d;/examples/d;s|.*/drakon_editor||;s|.zip.*||;q'
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/applications

    cp -a $src    $fs/usr/share/$PACKAGE
    cat > $fs/usr/share/applications/$PACKAGE.desktop <<EOT
[Desktop Entry]
Type=Application
Name=Drakon diagram editor
Name[fr]=Editeur de diagrammes Drakon
Exec=/usr/share/$PACKAGE/drakon_editor.tcl %f
Categories=Development;Building;
EOT
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)