summaryrefslogtreecommitdiff
path: root/system/lapsus
diff options
context:
space:
mode:
authorHeinz Wiesinger <HMWiesinger@gmx.at>2010-05-11 22:26:45 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:26:45 +0200
commit5b16937235673e83cd5d12f11bfc4d20d8ef9e5b (patch)
tree0f415366d8886183f5d30f1fda981e08f0a13901 /system/lapsus
parenta68da6c8b635b90044ae9463efbd6fa46cb96ebd (diff)
downloadslackbuilds-5b16937235673e83cd5d12f11bfc4d20d8ef9e5b.tar.gz
system/lapsus: Updated for version 0.0.6
Diffstat (limited to 'system/lapsus')
-rw-r--r--system/lapsus/lapsus.SlackBuild32
-rw-r--r--system/lapsus/lapsus.info6
-rw-r--r--system/lapsus/slack-desc9
3 files changed, 39 insertions, 8 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
diff --git a/system/lapsus/lapsus.info b/system/lapsus/lapsus.info
index 3fcd852c5b..98234ecb1f 100644
--- a/system/lapsus/lapsus.info
+++ b/system/lapsus/lapsus.info
@@ -1,8 +1,8 @@
PRGNAM="lapsus"
-VERSION="0.0.5"
+VERSION="0.0.6"
HOMEPAGE="http://lapsus.berlios.de"
-DOWNLOAD="http://download.berlios.de/lapsus/lapsus-0.0.5.tar.bz2"
-MD5SUM="a7579a3e92d94f7502053ee3566e619f"
+DOWNLOAD="http://download.berlios.de/lapsus/lapsus-0.0.6.tar.bz2"
+MD5SUM="1013b513ba0ddb9cc82dbb9bb373c8ab"
MAINTAINER="ppr:kut"
EMAIL="HMWiesinger@gmx.at"
APPROVED="rworkman"
diff --git a/system/lapsus/slack-desc b/system/lapsus/slack-desc
index 732d753c78..f2e3115a31 100644
--- a/system/lapsus/slack-desc
+++ b/system/lapsus/slack-desc
@@ -1,4 +1,11 @@
- |-----handy-ruler---------------------------------------------------|
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
lapsus: lapsus (program to use many of the features of laptops)
lapsus:
lapsus: Lapsus is a program created to let laptops users use many of the