wok-current view sweethome3d/receipt @ rev 17750
qt4-base: use its own source tree !
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 08 10:51:20 2015 +0100 (2015-03-08) |
parents | f6de2e99f9cd |
children | 8b9b7db4f811 |
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 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 }