mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/librtfcomp: Updated for version 1.1
This commit is contained in:
parent
f4ce0ba781
commit
054ca014b2
3 changed files with 7 additions and 3 deletions
|
@ -1,3 +1 @@
|
|||
Librtfcomp is a library to read and write compressed RTF files.
|
||||
|
||||
Homepage: http://www.synce.org
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue