wok-current view sweethome3d/receipt @ rev 22407
Add knot-dns (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 10 16:56:23 2019 +0100 (2019-12-10) |
parents | 8b9b7db4f811 |
children | 2377c149c027 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sweethome3d"
4 VERSION="6.2"
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 }