diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/leocad/leocad.SlackBuild | 17 | ||||
-rw-r--r-- | graphics/leocad/leocad.info | 6 |
2 files changed, 12 insertions, 11 deletions
diff --git a/graphics/leocad/leocad.SlackBuild b/graphics/leocad/leocad.SlackBuild index cce94006aa..74b895f396 100644 --- a/graphics/leocad/leocad.SlackBuild +++ b/graphics/leocad/leocad.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for LeoCAD: # 3D design program for bricks -# Copyright 2009-2011 Niels Horn, Rio de Janeiro, Brazil +# Copyright 2009-2012 Niels Horn, Rio de Janeiro, Brazil # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,15 +23,13 @@ # 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 +# revision date 2012/08/10 PRGNAM=leocad -VERSION=${VERSION:-0.75.2} +VERSION=${VERSION:-0.77.0} 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 ;; @@ -61,14 +59,17 @@ fi set -e -rm -rf $TMP/$PRGNAM-$SRCVERSION $PKG +rm -rf $TMP/$PRGNAM $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP tar xvf $CWD/$PRGNAM-$VERSION-src.tgz -cd $PRGNAM-$SRCVERSION +cd $PRGNAM chown -R root:root . chmod -R u+w,go+r-w,a-s . +# Include libs gcc-4.7 won't find by itself +sed "/^LIBS/s/=/= -lX11 -ldl/" -i Makefile + make config PREFIX=/usr DESTDIR=$PKG CFLAGS="$SLKCFLAGS" CPPFLAGS="$SLKCFLAGS" make make install @@ -87,7 +88,7 @@ cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - CREDITS.txt README.txt docs/CHANGES.txt docs/COPYING.txt docs/INSTALL.txt \ + CREDITS.txt README.txt docs/COPYING.txt docs/INSTALL.txt \ docs/LINUX.txt docs/TODO.txt $PKG/usr/doc/$PRGNAM-$VERSION find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/graphics/leocad/leocad.info b/graphics/leocad/leocad.info index 09c9f31f53..bbeb04b4b1 100644 --- a/graphics/leocad/leocad.info +++ b/graphics/leocad/leocad.info @@ -1,8 +1,8 @@ PRGNAM="leocad" -VERSION="0.75.2" +VERSION="0.77.0" HOMEPAGE="http://www.leocad.org/" -DOWNLOAD="http://leocad.googlecode.com/files/leocad-0.75.2-src.tgz" -MD5SUM="6d20156bb35a68f3da2d608411dea363" +DOWNLOAD="http://leocad.googlecode.com/files/leocad-0.77.0-src.tgz" +MD5SUM="007fba24d1ecd72f177af107cb3fa946" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="leocad_pieces" |