wok-undigest rev 630

Add sweethome3d
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 05 17:37:39 2012 +0100 (2012-02-05)
parents b8038832f348
children 20e6aa6b7d90
files sweethome3d/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/sweethome3d/receipt	Sun Feb 05 17:37:39 2012 +0100
     1.3 @@ -0,0 +1,33 @@
     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=""
    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/ $fs/usr/bin
    1.29 +	cp -a $src $fs/usr/share/$PACKAGE
    1.30 +	cat > $fs/usr/bin/$PACKAGE <<EOT
    1.31 +#!/bin/sh
    1.32 +
    1.33 +exec /usr/share/$PACKAGE/SweetHome3D
    1.34 +EOT
    1.35 +	chmod +x $fs/usr/bin/$PACKAGE
    1.36 +}