wok annotate sweethome3d/receipt @ rev 19825
linld/tazboot: can boot memtest & ipxe
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 05 13:22:08 2017 +0100 (2017-03-05) |
parents | f6de2e99f9cd |
children | 8b9b7db4f811 |
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@15581 | 9 LICENSE="GPL2" |
pascal@12907 | 10 TARBALL="$SOURCE-$VERSION-linux-x86.tgz" |
pascal@12907 | 11 WEB_SITE="http://www.sweethome3d.com/" |
pascal@12907 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$SOURCE/$SOURCE-$VERSION/$TARBALL" |
pascal@12907 | 13 |
pascal@12907 | 14 DEPENDS="libgl" |
pascal@12907 | 15 BUILD_DEPENDS="" |
pascal@12907 | 16 |
pascal@12907 | 17 # Rules to configure and make the package. |
pascal@12907 | 18 compile_rules() |
pascal@12907 | 19 { |
pascal@12907 | 20 cd $src |
pascal@12907 | 21 } |
pascal@12907 | 22 |
pascal@12907 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12907 | 24 genpkg_rules() |
pascal@12907 | 25 { |
pascal@12907 | 26 mkdir -p $fs/usr/share/applications $fs/usr/bin |
pascal@12907 | 27 cp -a $src $fs/usr/share/$PACKAGE |
pascal@12907 | 28 cat > $fs/usr/share/applications/$PACKAGE.desktop <<EOT |
pascal@12907 | 29 [Desktop Entry] |
pascal@12907 | 30 Encoding=UTF-8 |
pascal@12907 | 31 Name=Interior design |
pascal@12907 | 32 Name[fr]=Aménagement d'intérieur |
pascal@12907 | 33 Type=Application |
pascal@12907 | 34 Exec=$PACKAGE |
pascal@12907 | 35 Icon=gohome.png |
pascal@12907 | 36 Terminal=false |
pascal@12907 | 37 Categories=Office; |
pascal@12907 | 38 EOT |
pascal@12907 | 39 cat > $fs/usr/bin/$PACKAGE <<EOT |
pascal@12907 | 40 #!/bin/sh |
pascal@12907 | 41 |
pascal@12907 | 42 exec /usr/share/$PACKAGE/SweetHome3D |
pascal@12907 | 43 EOT |
pascal@12907 | 44 chmod +x $fs/usr/bin/$PACKAGE |
pascal@12907 | 45 } |