diff options
author | Niels Horn <niels.horn@gmail.com> | 2010-05-13 00:58:20 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-13 00:58:20 +0200 |
commit | e41035c6b37aa489c3d909a1dafd02639604161e (patch) | |
tree | 111a5c4e398eed13992f28bc378b4f2b95965bf2 | |
parent | c3fae8dd50f68a504a3a92a60822b2c9aa71040b (diff) |
graphics/leocad_pieces: Added to 13.0 repository
-rw-r--r-- | graphics/leocad_pieces/README | 1 | ||||
-rw-r--r-- | graphics/leocad_pieces/leocad_pieces.SlackBuild | 35 | ||||
-rw-r--r-- | graphics/leocad_pieces/leocad_pieces.info | 10 | ||||
-rw-r--r-- | graphics/leocad_pieces/slack-desc | 19 |
4 files changed, 65 insertions, 0 deletions
diff --git a/graphics/leocad_pieces/README b/graphics/leocad_pieces/README new file mode 100644 index 0000000000000..1b40f8e3b8906 --- /dev/null +++ b/graphics/leocad_pieces/README @@ -0,0 +1 @@ +leocad_pieces contains the library of pieces needed by the LeoCAD program. diff --git a/graphics/leocad_pieces/leocad_pieces.SlackBuild b/graphics/leocad_pieces/leocad_pieces.SlackBuild new file mode 100644 index 0000000000000..185bbfdf116dc --- /dev/null +++ b/graphics/leocad_pieces/leocad_pieces.SlackBuild @@ -0,0 +1,35 @@ +#!/bin/sh + +# Slackware build script for leocad_pieces, the pieces library needed by +# LeoCAD + +# Written by Niels Horn - niels.horn@gmail.com +# revision date 2010/01/27 + +PRGNAM=leocad_pieces +VERSION=3299 +ARCH=noarch +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +set -e + +rm -rf $PKG +mkdir -p $PKG $OUTPUT + +# Data from zip-file + set permissions +mkdir -p $PKG/usr/share/leocad +unzip $CWD/pieces-$VERSION.zip -d $PKG/usr/share/leocad +chown -R root:root $PKG +find $PKG -type f -exec chmod 644 {} \; + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/graphics/leocad_pieces/leocad_pieces.info b/graphics/leocad_pieces/leocad_pieces.info new file mode 100644 index 0000000000000..d640980c8ce3a --- /dev/null +++ b/graphics/leocad_pieces/leocad_pieces.info @@ -0,0 +1,10 @@ +PRGNAM="leocad_pieces" +VERSION="3299" +HOMEPAGE="http://www.leocad.org/" +DOWNLOAD="http://leocad.googlecode.com/files/pieces-3299.zip" +MD5SUM="323375bfac773ff1c6501383e65de9c2" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Niels Horn" +EMAIL="niels.horn@gmail.com" +APPROVED="Erik Hanson" diff --git a/graphics/leocad_pieces/slack-desc b/graphics/leocad_pieces/slack-desc new file mode 100644 index 0000000000000..327bfeb6e8494 --- /dev/null +++ b/graphics/leocad_pieces/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' on +# the right side marks the last column you can put a character in. You must make +# exactly 11 lines for the formatting to be correct. It's also customary to +# leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +leocad_pieces: leocad_pieces (LeoCAD pieces library) +leocad_pieces: +leocad_pieces: leocad_pieces contains the library of pieces needed by the LeoCAD +leocad_pieces: program. +leocad_pieces: +leocad_pieces: http://www.leocad.org/ +leocad_pieces: +leocad_pieces: +leocad_pieces: +leocad_pieces: +leocad_pieces: |