diff options
author | Niels Horn <niels.horn@gmail.com> | 2011-07-10 23:22:31 -0400 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-07-14 21:54:04 -0300 |
commit | 44d47dcc08d784974cc128bfd8b11a46e96ff292 (patch) | |
tree | 29dafd01626594e0e154588d84721380c2c42e71 | |
parent | 25e4cbe28b3b5bfc8a7e39e77df01dc2570df0c5 (diff) |
graphics/leocad: Updated for version 0.75.2.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
-rw-r--r-- | graphics/leocad/README | 4 | ||||
-rw-r--r-- | graphics/leocad/leocad.SlackBuild | 33 | ||||
-rw-r--r-- | graphics/leocad/leocad.info | 8 |
3 files changed, 33 insertions, 12 deletions
diff --git a/graphics/leocad/README b/graphics/leocad/README index e52b1924bcda0..103409bd17558 100644 --- a/graphics/leocad/README +++ b/graphics/leocad/README @@ -1,5 +1,5 @@ -LeoCAD is a CAD program that uses bricks similar to those found in many toys -(but they don't represent any particular brand). +LeoCAD is a CAD program that uses bricks similar to those found in many +toys (but they don't represent any particular brand). Currently it uses a library of more than 3000 different pieces. This requires leocad_pieces. diff --git a/graphics/leocad/leocad.SlackBuild b/graphics/leocad/leocad.SlackBuild index c67e3d010188f..cce94006aac08 100644 --- a/graphics/leocad/leocad.SlackBuild +++ b/graphics/leocad/leocad.SlackBuild @@ -3,14 +3,35 @@ # Slackware build script for LeoCAD: # 3D design program for bricks -# Written by Niels Horn <niels.horn@gmail.com> -# revision date 2010/07/17 +# Copyright 2009-2011 Niels Horn, Rio de Janeiro, Brazil +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# revision date 2011/06/29 PRGNAM=leocad -VERSION=${VERSION:-0.75.1} +VERSION=${VERSION:-0.75.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +SRCVERSION=$(echo $VERSION | cut -f1-2 -d. ) + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -40,11 +61,11 @@ fi set -e -rm -rf $TMP/$PRGNAM-$VERSION $PKG +rm -rf $TMP/$PRGNAM-$SRCVERSION $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION-src.tgz +cd $PRGNAM-$SRCVERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . diff --git a/graphics/leocad/leocad.info b/graphics/leocad/leocad.info index b142adf0f6ead..0343d163cc030 100644 --- a/graphics/leocad/leocad.info +++ b/graphics/leocad/leocad.info @@ -1,10 +1,10 @@ PRGNAM="leocad" -VERSION="0.75.1" +VERSION="0.75.2" HOMEPAGE="http://www.leocad.org/" -DOWNLOAD="http://www.nielshorn.net/_download/slackware/source/leocad-0.75.1.tar.gz" -MD5SUM="3e72ec2ae4fc6a69be1378df701ea647" +DOWNLOAD="http://leocad.googlecode.com/files/leocad-0.75.2-src.tgz" +MD5SUM="6d20156bb35a68f3da2d608411dea363" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Niels Horn" EMAIL="niels.horn@gmail.com" -APPROVED="Erik Hanson" +APPROVED="dsomero" |