Browse Source

l/vtk: Upgraded to vtk-6.0.0.

slackware-14.2
Damien Goutte-Gattat 8 years ago
parent
commit
2174d9d24b
  1. 1
      l/vtk/vtk-5.4.2.tar.gz.sha1
  2. 1
      l/vtk/vtk-5.8.0.tar.gz.sha1
  3. 1
      l/vtk/vtk-6.0.0.tar.gz.sha1
  4. 22
      l/vtk/vtk.SlackBuild

1
l/vtk/vtk-5.4.2.tar.gz.sha1

@ -1 +0,0 @@
508106a15c32326aa9ac737c7f0e7212c150d55f vtk-5.4.2.tar.gz

1
l/vtk/vtk-5.8.0.tar.gz.sha1

@ -1 +0,0 @@
ece52f4fa92811fe927581e60ecb39a8a5f68cd9 vtk-5.8.0.tar.gz

1
l/vtk/vtk-6.0.0.tar.gz.sha1

@ -0,0 +1 @@
51dd3b4a779d5442dd74375363f0f0c2d6eaf3fa vtk-6.0.0.tar.gz

22
l/vtk/vtk.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2010,2011 Damien Goutte-Gattat
# Copyright (C) 2010,2011,2013 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -26,13 +26,13 @@
# Source package infos
NAMESRC=${NAMESRC:-vtk}
VERSION=${VERSION:-5.8.0}
VERSION=${VERSION:-6.0.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-http://www.vtk.org/files/release/5.8/$ARCHIVE}
WGET=${WGET:-http://www.vtk.org/files/release/6.0/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-vtk}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
@ -115,20 +115,8 @@ fi
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
# Install profile scripts
mkdir -p $PKG/etc/profile.d
cat > $PKG/etc/profile.d/vtk.sh <<EOF
#!/bin/sh
LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:/usr/lib$LIBDIRSUFFIX/vtk-5.8
export LD_LIBRARY_PATH
EOF
cat > $PKG/etc/profile.d/vtk.csh <<EOF
#!/bin/csh
setenv LD_LIBRARY_PATH \${LD_LIBRARY_PATH}:/usr/lib$LIBDIRSUFFIX/vtk-5.8
EOF
chmod 755 $PKG/etc/profile.d/vtk.{csh,sh}
# Install the documentation
rm -rf $PKG/usr/share
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 ../Copyright.txt ../README.html $PKG/usr/doc/$NAMEPKG-$VERSION

Loading…
Cancel
Save