wok-next diff sweethome3d/receipt @ rev 20523
libnsgif: add missing stuff
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 23 15:16:45 2018 +0200 (2018-03-23) |
parents | c4f226b02549 |
children | d5aab818505e |
line diff
1.1 --- a/sweethome3d/receipt Sat Nov 30 11:11:23 2013 +0000 1.2 +++ b/sweethome3d/receipt Fri Mar 23 15:16:45 2018 +0200 1.3 @@ -1,45 +1,28 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="sweethome3d" 1.8 -SOURCE="SweetHome3D" 1.9 -VERSION="4.0" 1.10 +VERSION="5.7" 1.11 CATEGORY="misc" 1.12 -SHORT_DESC="A free interior design application." 1.13 +SHORT_DESC="An interior design application to draw house plans & arrange furniture" 1.14 MAINTAINER="pascal.bellard@slitaz.org" 1.15 LICENSE="GPL2" 1.16 -TARBALL="$SOURCE-$VERSION-linux-x86.tgz" 1.17 WEB_SITE="http://www.sweethome3d.com/" 1.18 -WGET_URL="$SF_MIRROR/$PACKAGE/$SOURCE/$SOURCE-$VERSION/$TARBALL" 1.19 +HOST_ARCH="i486 x86_64" 1.20 1.21 -DEPENDS="libgl" 1.22 -BUILD_DEPENDS="" 1.23 +case $ARCH in 1.24 + i?86) TARBALL="SweetHome3D-$VERSION-linux-x86.tgz";; 1.25 + x86_64) TARBALL="SweetHome3D-$VERSION-linux-x64.tgz";; 1.26 +esac 1.27 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.28 1.29 -# Rules to configure and make the package. 1.30 -compile_rules() 1.31 -{ 1.32 - cd $src 1.33 +compile_rules() { 1.34 + mkdir -p $install/usr/share/ 1.35 + cp -a $src $install/usr/share/sweethome3d 1.36 + 1.37 + install -Dm755 $stuff/sweethome3d $install/usr/bin/sweethome3d 1.38 } 1.39 1.40 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.41 -genpkg_rules() 1.42 -{ 1.43 - mkdir -p $fs/usr/share/applications $fs/usr/bin 1.44 - cp -a $src $fs/usr/share/$PACKAGE 1.45 - cat > $fs/usr/share/applications/$PACKAGE.desktop <<EOT 1.46 -[Desktop Entry] 1.47 -Encoding=UTF-8 1.48 -Name=Interior design 1.49 -Name[fr]=Aménagement d'intérieur 1.50 -Type=Application 1.51 -Exec=$PACKAGE 1.52 -Icon=gohome.png 1.53 -Terminal=false 1.54 -Categories=Office; 1.55 -EOT 1.56 - cat > $fs/usr/bin/$PACKAGE <<EOT 1.57 -#!/bin/sh 1.58 - 1.59 -exec /usr/share/$PACKAGE/SweetHome3D 1.60 -EOT 1.61 - chmod +x $fs/usr/bin/$PACKAGE 1.62 +genpkg_rules() { 1.63 + copy @std 1.64 + DEPENDS="mesa" 1.65 }