wok view sweethome3d/receipt @ rev 20700

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