wok-next view sweethome3d/receipt @ rev 17516

Remove some categories (system -> system-tools, web -> network, devel -> development, news -> network).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jan 15 01:14:17 2015 +0200 (2015-01-15)
parents f6de2e99f9cd
children da9e80c5d4bb
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 }