wok annotate sweethome3d/receipt @ rev 22109

updated virtualenv (1.5.1 -> 16.7.7)
author Hans-G?nter Theisgen
date Fri Nov 01 17:02:38 2019 +0100 (2019-11-01)
parents 8b9b7db4f811
children 2377c149c027
rev   line source
pascal@12907 1 # SliTaz package receipt.
pascal@12907 2
pascal@12907 3 PACKAGE="sweethome3d"
Hans-G?nter@21992 4 VERSION="6.2"
pascal@12907 5 CATEGORY="misc"
pascal@12907 6 SHORT_DESC="A free interior design application."
pascal@12907 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15581 8 LICENSE="GPL2"
Hans-G?nter@21992 9 WEB_SITE="http://www.sweethome3d.com/"
Hans-G?nter@21992 10
Hans-G?nter@21992 11 SOURCE="SweetHome3D"
pascal@12907 12 TARBALL="$SOURCE-$VERSION-linux-x86.tgz"
pascal@12907 13 WGET_URL="$SF_MIRROR/$PACKAGE/$SOURCE/$SOURCE-$VERSION/$TARBALL"
pascal@12907 14
pascal@12907 15 DEPENDS="libgl"
pascal@12907 16 BUILD_DEPENDS=""
pascal@12907 17
pascal@12907 18 # Rules to configure and make the package.
pascal@12907 19 compile_rules()
pascal@12907 20 {
pascal@12907 21 cd $src
pascal@12907 22 }
pascal@12907 23
pascal@12907 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@12907 25 genpkg_rules()
pascal@12907 26 {
Hans-G?nter@21992 27 mkdir -p $fs/usr/share/applications
Hans-G?nter@21992 28 mkdir -p $fs/usr/bin
Hans-G?nter@21992 29
pascal@12907 30 cp -a $src $fs/usr/share/$PACKAGE
Hans-G?nter@21992 31
pascal@12907 32 cat > $fs/usr/share/applications/$PACKAGE.desktop <<EOT
pascal@12907 33 [Desktop Entry]
pascal@12907 34 Encoding=UTF-8
pascal@12907 35 Name=Interior design
Hans-G?nter@21992 36 Name[de]=Innenraum-Planer
pascal@12907 37 Name[fr]=Aménagement d'intérieur
pascal@12907 38 Type=Application
pascal@12907 39 Exec=$PACKAGE
pascal@12907 40 Icon=gohome.png
pascal@12907 41 Terminal=false
pascal@12907 42 Categories=Office;
pascal@12907 43 EOT
Hans-G?nter@21992 44
pascal@12907 45 cat > $fs/usr/bin/$PACKAGE <<EOT
pascal@12907 46 #!/bin/sh
pascal@12907 47
pascal@12907 48 exec /usr/share/$PACKAGE/SweetHome3D
pascal@12907 49 EOT
pascal@12907 50 chmod +x $fs/usr/bin/$PACKAGE
pascal@12907 51 }