summaryrefslogtreecommitdiff
path: root/academic/octave
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2012-12-21 12:47:10 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2012-12-23 23:13:20 +0100
commit9bd0400923866e801a3dcfbc4f364b019f22f1be (patch)
tree2fba69cf3f8370b8ece96d9c8032e821abc35793 /academic/octave
parentc167b35fe5e42133b02be54731be2b46eeb21c42 (diff)
downloadslackbuilds-9bd0400923866e801a3dcfbc4f364b019f22f1be.tar.gz
academic/octave: Added a license and clarified some comments.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'academic/octave')
-rw-r--r--academic/octave/octave.SlackBuild31
1 files changed, 27 insertions, 4 deletions
diff --git a/academic/octave/octave.SlackBuild b/academic/octave/octave.SlackBuild
index 6190b5d2d6..0e2b9552c9 100644
--- a/academic/octave/octave.SlackBuild
+++ b/academic/octave/octave.SlackBuild
@@ -1,7 +1,26 @@
#!/bin/sh
# Slackware build script for octave
-# Written by Kyle Guinn <elyk03@gmail.com>
+
+# Copyright 2012 Kyle Guinn <elyk03@gmail.com>, USA
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=octave
VERSION=${VERSION:-3.6.3}
@@ -39,9 +58,13 @@ fi
# Default to use ImageMagick (shipped with Slackware) instead of
# GraphicsMagick so that octave will have at least some sort of image
-# reading capabilities. ImageMagick limits images to 16bpp, but if you're
-# running a multilib environment, it might be easier to accept this limit
-# rather than to compile GraphicsMagick. (thanks to Joni Martikainen)
+# reading capabilities. It's unclear if one is recommended over the other.
+#
+# ImageMagick uses 16 bits per pixel quantum (each of the red, green, blue,
+# and alpha components) by default; GraphicsMagick uses 8 bits by default.
+# If you require more, add '--with-quantum-depth=N' (where N is 8, 16, or 32)
+# to the ./configure step of either Magick package when you build it.
+# Larger values will make your Magick package slower and use more memory.
WITH_MAGICK=${WITH_MAGICK:-ImageMagick} # alternatively, "GraphicsMagick"
set -e