summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/LDraw_data/LDraw_data.SlackBuild11
-rw-r--r--graphics/LDraw_data/LDraw_data.info8
2 files changed, 10 insertions, 9 deletions
diff --git a/graphics/LDraw_data/LDraw_data.SlackBuild b/graphics/LDraw_data/LDraw_data.SlackBuild
index 1b929a0eff..6c3383eff9 100644
--- a/graphics/LDraw_data/LDraw_data.SlackBuild
+++ b/graphics/LDraw_data/LDraw_data.SlackBuild
@@ -4,6 +4,7 @@
# several LDraw utilities
# Copyright 2009-2013 Niels Horn, Rio de Janeiro, RJ, Brazil
+# Copyright 2015 Philip van der Hoeven, Almere, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +24,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# revision date 2013/11/15
-
PRGNAM=LDraw_data
-VERSION=${VERSION:-201301}
+VERSION=${VERSION:-201402}
ARCH=noarch
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -93,12 +92,14 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# unzip & make 'mklist'
# (this is a one-time executable, that won't be installed,
# so we don't worry about CFLAGS)
-unzip -o mklist1_4.zip
+unzip -o mklist1_6.zip
+sed -i 's/_MAX_PATH/MAX_PATH/' mklist.c
+sed -i 's/shortpath)/shortpath))/' mklist.c
make
# Run 'mklist' to generate "parts.lst"
cd $PKG/usr/share/LDRAW
- $TMP/$PRGUNZIPPED/mklist -d
+ $TMP/$PRGUNZIPPED/mklist -d -f
cd -
mkdir -p $PKG/install
diff --git a/graphics/LDraw_data/LDraw_data.info b/graphics/LDraw_data/LDraw_data.info
index 906b4ee196..871d34a6c6 100644
--- a/graphics/LDraw_data/LDraw_data.info
+++ b/graphics/LDraw_data/LDraw_data.info
@@ -1,10 +1,10 @@
PRGNAM="LDraw_data"
-VERSION="201301"
+VERSION="201402"
HOMEPAGE="http://www.ldraw.org/"
DOWNLOAD="http://www.ldraw.org/library/updates/complete.zip"
-MD5SUM="cfc10df9810a45615acf1bf4e043a150"
+MD5SUM="cc8a1a783563a71ee72181d88438abdc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Niels Horn"
-EMAIL="niels.horn@gmail.com"
+MAINTAINER="Philip van der Hoeven"
+EMAIL="philip@vd-hoeven.nl"