wok-next diff sweethome3d/receipt @ rev 14427
add mist-icon-theme, gtk-screenshot, kkedit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Apr 24 02:32:06 2013 +0000 (2013-04-24) |
parents | |
children | f6de2e99f9cd |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/sweethome3d/receipt Wed Apr 24 02:32:06 2013 +0000 1.3 @@ -0,0 +1,44 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="sweethome3d" 1.7 +SOURCE="SweetHome3D" 1.8 +VERSION="3.4" 1.9 +CATEGORY="misc" 1.10 +SHORT_DESC="A free interior design application." 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +TARBALL="$SOURCE-$VERSION-linux-x86.tgz" 1.13 +WEB_SITE="http://www.sweethome3d.com/" 1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$SOURCE/$SOURCE-$VERSION/$TARBALL" 1.15 + 1.16 +DEPENDS="libgl" 1.17 +BUILD_DEPENDS="" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr/share/applications $fs/usr/bin 1.29 + cp -a $src $fs/usr/share/$PACKAGE 1.30 + cat > $fs/usr/share/applications/$PACKAGE.desktop <<EOT 1.31 +[Desktop Entry] 1.32 +Encoding=UTF-8 1.33 +Name=Interior design 1.34 +Name[fr]=Aménagement d'intérieur 1.35 +Type=Application 1.36 +Exec=$PACKAGE 1.37 +Icon=gohome.png 1.38 +Terminal=false 1.39 +Categories=Office; 1.40 +EOT 1.41 + cat > $fs/usr/bin/$PACKAGE <<EOT 1.42 +#!/bin/sh 1.43 + 1.44 +exec /usr/share/$PACKAGE/SweetHome3D 1.45 +EOT 1.46 + chmod +x $fs/usr/bin/$PACKAGE 1.47 +}