summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/libinklevel/libinklevel-0.7.2-Makefile.diff11
-rw-r--r--libraries/libinklevel/libinklevel.SlackBuild10
-rw-r--r--libraries/libinklevel/libinklevel.info8
3 files changed, 8 insertions, 21 deletions
diff --git a/libraries/libinklevel/libinklevel-0.7.2-Makefile.diff b/libraries/libinklevel/libinklevel-0.7.2-Makefile.diff
deleted file mode 100644
index db5c69cb1b..0000000000
--- a/libraries/libinklevel/libinklevel-0.7.2-Makefile.diff
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Nur libinklevel-0.7.2.orig/Makefile libinklevel-0.7.2/Makefile
---- libinklevel-0.7.2.orig/Makefile 2007-07-28 14:01:36.000000000 -0500
-+++ libinklevel-0.7.2/Makefile 2008-01-06 13:46:04.856750896 -0600
-@@ -1,6 +1,6 @@
- DESTDIR =
- PREFIX = /usr/local
--CFLAGS = -Wall -O2 -fPIC -DPIC -I.
-+CFLAGS += -Wall -O2 -fPIC -DPIC -I.
- CC = gcc
-
- all: libinklevel.so.4.0.7.2
diff --git a/libraries/libinklevel/libinklevel.SlackBuild b/libraries/libinklevel/libinklevel.SlackBuild
index c8e63f1a72..a00e6aaffc 100644
--- a/libraries/libinklevel/libinklevel.SlackBuild
+++ b/libraries/libinklevel/libinklevel.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libinklevel
-VERSION=0.7.2
+VERSION=0.7.3
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -37,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-fPIC"
fi
set -e
@@ -54,11 +56,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Apply a small patch to the default Makefile to respect additional CFLAGS
-# Sent upstream 20070105 --rworkman
-patch -p1 < $CWD/libinklevel-0.7.2-Makefile.diff
-
-CFLAGS="$SLKCFLAGS" make
+CFLAGS+="$SLKCFLAGS" make PREFIX=/usr
make install PREFIX=/usr DESTDIR=$PKG
( cd $PKG
diff --git a/libraries/libinklevel/libinklevel.info b/libraries/libinklevel/libinklevel.info
index 33a02dda7f..08f850f6f2 100644
--- a/libraries/libinklevel/libinklevel.info
+++ b/libraries/libinklevel/libinklevel.info
@@ -1,8 +1,8 @@
PRGNAM="libinklevel"
-VERSION="0.7.2"
+VERSION="0.7.3"
HOMEPAGE="http://libinklevel.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/libinklevel/libinklevel-0.7.2.tar.gz"
-MD5SUM="1e55e9d2264493c2ee736de7bf6f709f"
+DOWNLOAD="http://downloads.sourceforge.net/libinklevel/libinklevel-0.7.3.tar.gz"
+MD5SUM="c7ccefec29d1d218d1aae240f6044fe1"
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
-APPROVED="BP{k}"
+APPROVED="Michiel"