wok view sweethome3d/receipt @ rev 23883
Add duperemove
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 14 19:24:33 2020 +0000 (2020-07-14) |
parents | 1e82e1cd5b49 |
children | e919c5a2742d |
line source
1 # SliTaz package receipt.
3 PACKAGE="sweethome3d"
4 VERSION="6.3"
5 CATEGORY="misc"
6 SHORT_DESC="A free interior design application."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.sweethome3d.com/"
11 SOURCE="SweetHome3D"
12 TARBALL="$SOURCE-$VERSION-linux-x86.tgz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$SOURCE/$SOURCE-$VERSION/$TARBALL"
15 DEPENDS="libgl"
16 BUILD_DEPENDS=""
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/applications
28 mkdir -p $fs/usr/bin
30 cp -a $src $fs/usr/share/$PACKAGE
32 cat > $fs/usr/share/applications/$PACKAGE.desktop <<EOT
33 [Desktop Entry]
34 Encoding=UTF-8
35 Name=Interior design
36 Name[de]=Innenraum-Planer
37 Name[fr]=Aménagement d'intérieur
38 Type=Application
39 Exec=$PACKAGE
40 Icon=gohome.png
41 Terminal=false
42 Categories=Office;
43 EOT
45 cat > $fs/usr/bin/$PACKAGE <<EOT
46 #!/bin/sh
48 exec /usr/share/$PACKAGE/SweetHome3D
49 EOT
50 chmod +x $fs/usr/bin/$PACKAGE
51 }