diff options
Diffstat (limited to 'libraries/LibRaw/LibRaw.SlackBuild')
-rw-r--r-- | libraries/LibRaw/LibRaw.SlackBuild | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/libraries/LibRaw/LibRaw.SlackBuild b/libraries/LibRaw/LibRaw.SlackBuild index dc9e74069b..984e8b0c39 100644 --- a/libraries/LibRaw/LibRaw.SlackBuild +++ b/libraries/LibRaw/LibRaw.SlackBuild @@ -1,11 +1,29 @@ #!/bin/sh # Slackware build script for LibRaw -# Written by David Spencer <baildon.research@googlemail.com> -# This script is dedicated to the public domain + +# Copyright 2011 David Spencer, Baildon, West Yorkshire, U.K. +# 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=LibRaw -VERSION=${VERSION:-0.13.4} +VERSION=${VERSION:-0.13.8} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -85,10 +103,6 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -# Kill the static libs that we already said we didn't want -rm $PKG/usr/lib$LIBDIRSUFFIX/libraw.a \ - $PKG/usr/lib$LIBDIRSUFFIX/libraw_r.a - find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |