wok-next view sweethome3d/receipt @ rev 14384
connman-dev: fix deps+bdeps
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Apr 23 06:56:23 2013 +0200 (2013-04-23) |
parents | |
children | f6de2e99f9cd |
line source
1 # SliTaz package receipt.
3 PACKAGE="sweethome3d"
4 SOURCE="SweetHome3D"
5 VERSION="3.4"
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 }