summaryrefslogtreecommitdiff
path: root/network/knemo
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2010-06-16 14:10:09 -0500
committerErik Hanson <erik@slackbuilds.org>2010-06-16 17:08:29 -0500
commitd5ee0b74f5617f236154d38ca4e636ef836fe474 (patch)
treeaa5bbd5e1c62c815a1743fc2f3b53df5c3034ea8 /network/knemo
parent6107d94b253f024101967408d53c5c67ab56423d (diff)
downloadslackbuilds-d5ee0b74f5617f236154d38ca4e636ef836fe474.tar.gz
network/knemo: Updated for version 0.6.2.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'network/knemo')
-rw-r--r--network/knemo/knemo.SlackBuild26
-rw-r--r--network/knemo/knemo.info6
2 files changed, 15 insertions, 17 deletions
diff --git a/network/knemo/knemo.SlackBuild b/network/knemo/knemo.SlackBuild
index 1e4e162f1c..bf215fcf2d 100644
--- a/network/knemo/knemo.SlackBuild
+++ b/network/knemo/knemo.SlackBuild
@@ -5,19 +5,17 @@
# Modified by the SlackBuilds.org project
# Update by: Andre Barboza <bmg.andre@gmail.com>
-set -e
+set -e
PRGNAM=knemo
-VERSION=0.5.80
+VERSION=0.6.2
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -31,25 +29,25 @@ DOCFILES="AUTHORS COPYING ChangeLog INSTALL README TODO"
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
-fi
+fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
+cd $TMP
rm -rf $TMP/$PRGNAM-$VERSION
-tar -xvf $CWD/*-$PRGNAM-$VERSION.tar.gz
+tar -xvf $CWD/*-$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -69,7 +67,7 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
diff --git a/network/knemo/knemo.info b/network/knemo/knemo.info
index c1c1c53551..e2111cbe33 100644
--- a/network/knemo/knemo.info
+++ b/network/knemo/knemo.info
@@ -1,8 +1,8 @@
PRGNAM="knemo"
-VERSION="0.5.80"
+VERSION="0.6.2"
HOMEPAGE="http://www.kde-apps.org/content/show.php?content=12956"
-DOWNLOAD="http://www.kde-apps.org/CONTENT/content-files/12956-knemo-0.5.80.tar.gz"
-MD5SUM="d8e5600eda795c1acc1ec56dd5242391"
+DOWNLOAD="http://kde-apps.org/CONTENT/content-files/12956-knemo-0.6.2.tar.bz2"
+MD5SUM="9a4662c5a4f82d913684465c25db0f50"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Andre Barboza"