wok-current rev 18653

Add drakon-editor
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 02 15:42:05 2015 +0100 (2015-12-02)
parents e74d27e73a18
children d8b4e22f4be1
files drakon-editor/receipt libtkimg-dev/receipt libtkimg/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/drakon-editor/receipt	Wed Dec 02 15:42:05 2015 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="drakon-editor"
     1.7 +VERSION="1.26"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="A visual language for specifications from the Russian space program"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="PublicDomain"
    1.12 +TARBALL="drakon_editor$VERSION.zip"
    1.13 +WEB_SITE="http://drakon-editor.sourceforge.net/"
    1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15 +
    1.16 +DEPENDS="tk tcllib libsqlite-tcl libtkimg"
    1.17 +
    1.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.19 +genpkg_rules()
    1.20 +{
    1.21 +	mkdir -p $fs/usr/share/applications
    1.22 +	cp -a $src $fs/usr/share/$PACKAGE
    1.23 +	cat > $fs/usr/share/applications/$PACKAGE.desktop <<EOT
    1.24 +[Desktop Entry]
    1.25 +Type=Application
    1.26 +Name=Drakon diagram editor
    1.27 +Name[fr]=Editeur de diagrammes Drakon
    1.28 +Exec=/usr/share/$PACKAGE/drakon_editor.tcl %f
    1.29 +Categories=Development;Building;
    1.30 +EOT
    1.31 +}
     2.1 --- a/libtkimg-dev/receipt	Wed Dec 02 14:51:36 2015 +0100
     2.2 +++ b/libtkimg-dev/receipt	Wed Dec 02 15:42:05 2015 +0100
     2.3 @@ -18,4 +18,5 @@
     2.4  	cp -a $install/usr/lib/Img$VERSION/*.a $fs/usr/lib/Img$VERSION
     2.5  	cp -a $src/Img/exec_prefix/lib/Img/*.a $fs/usr/lib/Img$VERSION
     2.6  	cp -a $install/usr/include $fs/usr
     2.7 +	cp -a $src/Img/prefix/include $fs/usr
     2.8  }
     3.1 --- a/libtkimg/receipt	Wed Dec 02 14:51:36 2015 +0100
     3.2 +++ b/libtkimg/receipt	Wed Dec 02 15:42:05 2015 +0100
     3.3 @@ -32,7 +32,8 @@
     3.4  	cp -a $install/usr/lib/*.sh $fs/usr/lib
     3.5  	cp -a $src/Img/exec_prefix/lib/*.sh $fs/usr/lib
     3.6  	cat $install/usr/lib/Img$VERSION/*.tcl \
     3.7 -		$src/Img/exec_prefix/lib/Img/*.tcl > $fs/usr/lib
     3.8 +		$src/Img/exec_prefix/lib/Img/*.tcl > 
     3.9 +		$fs/usr/lib/Img$VERSION/pkgIndex.tcl
    3.10  	cp -a $install/usr/lib/Img$VERSION/*.so $fs/usr/lib/Img$VERSION
    3.11  	cp -a $src/Img/exec_prefix/lib/Img/*.so $fs/usr/lib/Img$VERSION
    3.12  }