wok-next annotate drakon-editor/receipt @ rev 18943

iptraf: deal with /var/run on post_install / post_remove
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Mar 03 11:40:10 2016 +0200 (2016-03-03)
parents
children fa61cfb16a25
rev   line source
pascal@18653 1 # SliTaz package receipt.
pascal@18653 2
pascal@18653 3 PACKAGE="drakon-editor"
pascal@18653 4 VERSION="1.26"
pascal@18653 5 CATEGORY="development"
pascal@18653 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@18653 9 TARBALL="drakon_editor$VERSION.zip"
pascal@18653 10 WEB_SITE="http://drakon-editor.sourceforge.net/"
pascal@18653 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@18653 12
pascal@18653 13 DEPENDS="tk tcllib libsqlite-tcl libtkimg"
pascal@18653 14
pascal@18653 15 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18653 16 genpkg_rules()
pascal@18653 17 {
pascal@18653 18 mkdir -p $fs/usr/share/applications
pascal@18653 19 cp -a $src $fs/usr/share/$PACKAGE
pascal@18653 20 cat > $fs/usr/share/applications/$PACKAGE.desktop <<EOT
pascal@18653 21 [Desktop Entry]
pascal@18653 22 Type=Application
pascal@18653 23 Name=Drakon diagram editor
pascal@18653 24 Name[fr]=Editeur de diagrammes Drakon
pascal@18653 25 Exec=/usr/share/$PACKAGE/drakon_editor.tcl %f
pascal@18653 26 Categories=Development;Building;
pascal@18653 27 EOT
pascal@18653 28 }