# 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 <