wok-current view sweethome3d/receipt @ rev 14674
edje-dev: Up to 1.7.7
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Jun 06 22:08:32 2013 +0200 (2013-06-06) |
parents | e9e7c1c5617e |
children | c4f226b02549 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sweethome3d"
4 SOURCE="SweetHome3D"
5 VERSION="4.0"
6 CATEGORY="misc"
7 SHORT_DESC="A free interior design application."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$SOURCE-$VERSION-linux-x86.tgz"
10 WEB_SITE="http://www.sweethome3d.com/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$SOURCE/$SOURCE-$VERSION/$TARBALL"
13 DEPENDS="libgl"
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share/applications $fs/usr/bin
26 cp -a $src $fs/usr/share/$PACKAGE
27 cat > $fs/usr/share/applications/$PACKAGE.desktop <<EOT
28 [Desktop Entry]
29 Encoding=UTF-8
30 Name=Interior design
31 Name[fr]=Aménagement d'intérieur
32 Type=Application
33 Exec=$PACKAGE
34 Icon=gohome.png
35 Terminal=false
36 Categories=Office;
37 EOT
38 cat > $fs/usr/bin/$PACKAGE <<EOT
39 #!/bin/sh
41 exec /usr/share/$PACKAGE/SweetHome3D
42 EOT
43 chmod +x $fs/usr/bin/$PACKAGE
44 }