summaryrefslogtreecommitdiff
path: root/network/lurc
diff options
context:
space:
mode:
Diffstat (limited to 'network/lurc')
-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 0804b79732..62539f086c 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 d62289c81f..ee81dc16a8 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 5e50dda384..f8b21c69fc 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: