aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorLionel Young <redtricycle@gmail.com>2010-05-13 00:31:45 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:31:45 +0200
commit054ca014b219e76940571bc864ff9e61bb22b1a1 (patch)
treea237fe31eace425e57cd7366c563c662a4cc0d91 /libraries
parentf4ce0ba781588048c27b9e637d0a0b06b5ca24d2 (diff)
libraries/librtfcomp: Updated for version 1.1
Diffstat (limited to 'libraries')
-rw-r--r--libraries/librtfcomp/README2
-rw-r--r--libraries/librtfcomp/librtfcomp.SlackBuild6
-rw-r--r--libraries/librtfcomp/librtfcomp.info2
3 files changed, 7 insertions, 3 deletions
diff --git a/libraries/librtfcomp/README b/libraries/librtfcomp/README
index fe08ac9c8b9a5..7847c90f0f9ab 100644
--- a/libraries/librtfcomp/README
+++ b/libraries/librtfcomp/README
@@ -1,3 +1 @@
Librtfcomp is a library to read and write compressed RTF files.
-
-Homepage: http://www.synce.org
diff --git a/libraries/librtfcomp/librtfcomp.SlackBuild b/libraries/librtfcomp/librtfcomp.SlackBuild
index 1e830ba512e33..f4c76a969b874 100644
--- a/libraries/librtfcomp/librtfcomp.SlackBuild
+++ b/libraries/librtfcomp/librtfcomp.SlackBuild
@@ -15,10 +15,13 @@ 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 # Exit on most errors
@@ -43,6 +46,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
@@ -78,4 +82,4 @@ 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/librtfcomp/librtfcomp.info b/libraries/librtfcomp/librtfcomp.info
index 2aa91d2c1f124..73576da0e5f91 100644
--- a/libraries/librtfcomp/librtfcomp.info
+++ b/libraries/librtfcomp/librtfcomp.info
@@ -2,7 +2,9 @@ PRGNAM="librtfcomp"
VERSION="1.1"
HOMEPAGE="http://www.synce.org"
DOWNLOAD="http://downloads.sourceforge.net/synce/librtfcomp-1.1.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="b7f70dc41687d920ec9f47c01f56d6ce"
+MD5SUM_x86_64=""
MAINTAINER="Lionel Young"
EMAIL="redtricycle@gmail.com"
APPROVED="dsomero"