summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-13 00:30:55 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-13 00:30:55 +0200
commit2870221b7a5bc5050c6719db2929f3868f34bb0f (patch)
tree7ff6632a6282aab0f5dc6c52c54409b17030421b /libraries
parent24554d1f6438c60ffb6d983717570fc1ce172ba3 (diff)
downloadslackbuilds-2870221b7a5bc5050c6719db2929f3868f34bb0f.tar.gz
libraries/libinklevel: Updated for version 0.8.0
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libinklevel/libinklevel.SlackBuild31
-rw-r--r--libraries/libinklevel/libinklevel.info8
2 files changed, 28 insertions, 11 deletions
diff --git a/libraries/libinklevel/libinklevel.SlackBuild b/libraries/libinklevel/libinklevel.SlackBuild
index a00e6aaffc..6b928e78a1 100644
--- a/libraries/libinklevel/libinklevel.SlackBuild
+++ b/libraries/libinklevel/libinklevel.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libinklevel
-# Copyright 2006-2008 Robby Workman (http://rlworkman.net)
+# Copyright 2006-2009 Robby Workman (http://rlworkman.net)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libinklevel
-VERSION=0.7.3
+VERSION=0.8.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-fPIC"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -56,20 +59,32 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-CFLAGS+="$SLKCFLAGS" make PREFIX=/usr
-make install PREFIX=/usr DESTDIR=$PKG
+CFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING CHANGELOG README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS COPYING ChangeLog INSTALL NEWS README \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/libinklevel/libinklevel.info b/libraries/libinklevel/libinklevel.info
index 08f850f6f2..64bb122c9e 100644
--- a/libraries/libinklevel/libinklevel.info
+++ b/libraries/libinklevel/libinklevel.info
@@ -1,8 +1,10 @@
PRGNAM="libinklevel"
-VERSION="0.7.3"
+VERSION="0.8.0"
HOMEPAGE="http://libinklevel.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/libinklevel/libinklevel-0.7.3.tar.gz"
-MD5SUM="c7ccefec29d1d218d1aae240f6044fe1"
+DOWNLOAD="http://downloads.sourceforge.net/libinklevel/libinklevel-0.8.0.tar.gz"
+DOWNLOAD_x86_64=""
+MD5SUM="83464cb23fe46a1d1adbe10f08b247be"
+MD5SUM_x86_64=""
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
APPROVED="Michiel"