aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Bueker <m.bueker@berlin.de>2010-05-13 00:37:05 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:37:05 +0200
commitc4770a30f0e123511bf89a04445704c1f100d463 (patch)
treedfc923315d453eed93f8835d723b6dc128f68f43
parent7f3622f1f2a1d0ca4fcb410b4536d9a3c543c4b7 (diff)
network/lurc: Updated for version 0.0.5.4
-rw-r--r--network/lurc/lurc.SlackBuild26
-rw-r--r--network/lurc/lurc.info2
-rw-r--r--network/lurc/slack-desc10
3 files changed, 23 insertions, 15 deletions
diff --git a/network/lurc/lurc.SlackBuild b/network/lurc/lurc.SlackBuild
index 0804b797326c6..62539f086ccb5 100644
--- a/network/lurc/lurc.SlackBuild
+++ b/network/lurc/lurc.SlackBuild
@@ -34,18 +34,23 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP || exit 1
+cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
-cd $PRGNAM-$VERSION || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -53,20 +58,21 @@ cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- . || exit 1
+ .
-make || exit 1
-make install DESTDIR=$PKG || exit 1
+make
+make install DESTDIR=$PKG
-strip --strip-unneeded $PKG/usr/bin/lurc 2>/dev/null
+strip --strip-unneeded $PKG/usr/bin/lurc 2>/dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS BACKPORTS BUGS COPYING ChangeLog CodingStyle FAQ INSTALL NEWS \
- OldNEWS README TODO UnfixedBUGS $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS BACKPORTS *BUGS COPYING ChangeLog CodingStyle FAQ INSTALL *NEWS README TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \;
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/network/lurc/lurc.info b/network/lurc/lurc.info
index d62289c81f876..ee81dc16a810a 100644
--- a/network/lurc/lurc.info
+++ b/network/lurc/lurc.info
@@ -3,6 +3,8 @@ VERSION="0.0.5.4"
HOMEPAGE="http://lurc.googlecode.com"
DOWNLOAD="http://lurc.googlecode.com/files/lurc-0.0.5.4.tar.bz2"
MD5SUM="8857b698602c704729778a3d98e7fd7d"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Michael Bueker"
EMAIL="m.bueker@berlin.de"
APPROVED="dsomero"
diff --git a/network/lurc/slack-desc b/network/lurc/slack-desc
index 5e50dda38479c..f8b21c69fc2bb 100644
--- a/network/lurc/slack-desc
+++ b/network/lurc/slack-desc
@@ -7,13 +7,13 @@
|-----handy-ruler-----------------------------------------------------|
lurc: lurc (a simple and lightweight XWindows IRC client)
-lurc:
+lurc:
lurc: lurc is an IRC client for GTK 1.2 based on the historic XChat 1.0.
lurc: Its main goals are to be light, robust, and accurate in handling
lurc: IRC traffic.
-lurc:
+lurc:
lurc: lurc is written and maintained by Timothy C. McGrath, aka Hikaru.
-lurc:
+lurc:
lurc: Homepage: http://lurc.googlecode.com
-lurc:
-lurc:
+lurc:
+lurc: