wok-next annotate sweethome3d/receipt @ rev 14792
Fix ownership and permissions for some files in some packages (again): adeskbar, arora, attr, binutils, bootchart, btanks.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 08 17:09:45 2013 +0300 (2013-07-08) |
parents | e9e7c1c5617e |
children | c4f226b02549 |
rev | line source |
---|---|
pascal@12907 | 1 # SliTaz package receipt. |
pascal@12907 | 2 |
pascal@12907 | 3 PACKAGE="sweethome3d" |
pascal@12907 | 4 SOURCE="SweetHome3D" |
pascal@14437 | 5 VERSION="4.0" |
pascal@12907 | 6 CATEGORY="misc" |
pascal@12907 | 7 SHORT_DESC="A free interior design application." |
pascal@12907 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@12907 | 9 TARBALL="$SOURCE-$VERSION-linux-x86.tgz" |
pascal@12907 | 10 WEB_SITE="http://www.sweethome3d.com/" |
pascal@12907 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$SOURCE/$SOURCE-$VERSION/$TARBALL" |
pascal@12907 | 12 |
pascal@12907 | 13 DEPENDS="libgl" |
pascal@12907 | 14 BUILD_DEPENDS="" |
pascal@12907 | 15 |
pascal@12907 | 16 # Rules to configure and make the package. |
pascal@12907 | 17 compile_rules() |
pascal@12907 | 18 { |
pascal@12907 | 19 cd $src |
pascal@12907 | 20 } |
pascal@12907 | 21 |
pascal@12907 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12907 | 23 genpkg_rules() |
pascal@12907 | 24 { |
pascal@12907 | 25 mkdir -p $fs/usr/share/applications $fs/usr/bin |
pascal@12907 | 26 cp -a $src $fs/usr/share/$PACKAGE |
pascal@12907 | 27 cat > $fs/usr/share/applications/$PACKAGE.desktop <<EOT |
pascal@12907 | 28 [Desktop Entry] |
pascal@12907 | 29 Encoding=UTF-8 |
pascal@12907 | 30 Name=Interior design |
pascal@12907 | 31 Name[fr]=Aménagement d'intérieur |
pascal@12907 | 32 Type=Application |
pascal@12907 | 33 Exec=$PACKAGE |
pascal@12907 | 34 Icon=gohome.png |
pascal@12907 | 35 Terminal=false |
pascal@12907 | 36 Categories=Office; |
pascal@12907 | 37 EOT |
pascal@12907 | 38 cat > $fs/usr/bin/$PACKAGE <<EOT |
pascal@12907 | 39 #!/bin/sh |
pascal@12907 | 40 |
pascal@12907 | 41 exec /usr/share/$PACKAGE/SweetHome3D |
pascal@12907 | 42 EOT |
pascal@12907 | 43 chmod +x $fs/usr/bin/$PACKAGE |
pascal@12907 | 44 } |