diff options
author | Heinz Wiesinger <HMWiesinger@gmx.at> | 2010-05-11 22:26:45 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 22:26:45 +0200 |
commit | 5b16937235673e83cd5d12f11bfc4d20d8ef9e5b (patch) | |
tree | 0f415366d8886183f5d30f1fda981e08f0a13901 /system/lapsus/lapsus.SlackBuild | |
parent | a68da6c8b635b90044ae9463efbd6fa46cb96ebd (diff) | |
download | slackbuilds-5b16937235673e83cd5d12f11bfc4d20d8ef9e5b.tar.gz |
system/lapsus: Updated for version 0.0.6
Diffstat (limited to 'system/lapsus/lapsus.SlackBuild')
-rw-r--r-- | system/lapsus/lapsus.SlackBuild | 32 |
1 files changed, 28 insertions, 4 deletions
diff --git a/system/lapsus/lapsus.SlackBuild b/system/lapsus/lapsus.SlackBuild index aeb974ea86..277fc0dc95 100644 --- a/system/lapsus/lapsus.SlackBuild +++ b/system/lapsus/lapsus.SlackBuild @@ -1,13 +1,33 @@ #!/bin/sh # Slackware build script for lapsus -# Written by ppr:kut <hmwiesinger@gmx.at> + +# Copyright 2007-2008 Heinz Wiesinger <hmwiesinger@gmx.at> +# 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=lapsus -VERSION=0.0.5 +VERSION=0.0.6 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -17,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" fi set -e @@ -34,9 +56,11 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ - --sysconfdir=/etc/kde \ + --sysconfdir=/etc \ --localstatedir=/var \ - --disable-static + --disable-static \ + --build=$ARCH-slackware-linux \ + --host=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG |