aboutsummaryrefslogtreecommitdiff
path: root/graphics/lgeo
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2010-05-13 00:58:21 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:58:21 +0200
commit29736689b1ff0c9f64479f8f70404eab758ea16f (patch)
treee6c1d9e36e2d17cd8fc4a498155f79e74b9eb446 /graphics/lgeo
parente41035c6b37aa489c3d909a1dafd02639604161e (diff)
graphics/lgeo: Added to 13.0 repository
Diffstat (limited to 'graphics/lgeo')
-rw-r--r--graphics/lgeo/README2
-rw-r--r--graphics/lgeo/lgeo.SlackBuild49
-rw-r--r--graphics/lgeo/lgeo.info10
-rw-r--r--graphics/lgeo/slack-desc19
4 files changed, 80 insertions, 0 deletions
diff --git a/graphics/lgeo/README b/graphics/lgeo/README
new file mode 100644
index 0000000000000..468e983144476
--- /dev/null
+++ b/graphics/lgeo/README
@@ -0,0 +1,2 @@
+lgeo is a collection of .inc files used by l3p for converting LDRAW (.ldr)
+files to the POV-Ray (.pov) format.
diff --git a/graphics/lgeo/lgeo.SlackBuild b/graphics/lgeo/lgeo.SlackBuild
new file mode 100644
index 0000000000000..f0e824ae05b82
--- /dev/null
+++ b/graphics/lgeo/lgeo.SlackBuild
@@ -0,0 +1,49 @@
+#!/bin/sh
+
+# Slackware build script for lgeo
+# datafiles needed by l3p / POV-Ray
+
+# Written by Niels Horn - niels.horn@gmail.com
+# revision date 2009/12/27
+
+PRGNAM=lgeo
+VERSION=20081215
+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 $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM
+unzip $CWD/$PRGNAM.zip
+cd $PRGNAM
+chown -R root:root .
+find . -type d -exec chmod 0755 {} \;
+find . -type f -exec chmod 0644 {} \;
+
+# Copy the 'read-only' data to the package
+mkdir -p $PKG/usr/share/LDRAW/$PRGNAM
+cp -a \
+ *.lst lg ar \
+ $PKG/usr/share/LDRAW/$PRGNAM
+
+# Copy documentation
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
+cp -a \
+ *.txt *.pdf \
+ $PKG/usr/doc/$PRGNAM-$VERSION/
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+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/lgeo/lgeo.info b/graphics/lgeo/lgeo.info
new file mode 100644
index 0000000000000..4c6616ecb21aa
--- /dev/null
+++ b/graphics/lgeo/lgeo.info
@@ -0,0 +1,10 @@
+PRGNAM="lgeo"
+VERSION="20081215"
+HOMEPAGE="http://www.digitalbricks.org/"
+DOWNLOAD="http://www.digitalbricks.org/data/lgeo.zip"
+MD5SUM="6d1860f53b6c1353e7cec5652cd8ab33"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Niels Horn"
+EMAIL="niels.horn@gmail.com"
+APPROVED="dsomero"
diff --git a/graphics/lgeo/slack-desc b/graphics/lgeo/slack-desc
new file mode 100644
index 0000000000000..e52ce8d85c37d
--- /dev/null
+++ b/graphics/lgeo/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------------------------------------------------------|
+lgeo: lgeo (data files for l3p .ldr to .pov conversion)
+lgeo:
+lgeo: lgeo is a collection of .inc files used by l3p for converting LDRAW
+lgeo: (.ldr) files to the POV-Ray (.pov) format.
+lgeo:
+lgeo: Homepage: http://www.digitalbricks.org/
+lgeo:
+lgeo:
+lgeo:
+lgeo:
+lgeo: