diff options
author | Cezary M. Kruk <c.kruk@bigfoot.com> | 2010-05-13 00:39:03 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:39:03 +0200 |
commit | 0b178c4ad90cf01be687f28e74ebd5a8dd8e2ac5 (patch) | |
tree | 2e4986a694b22716c7b81452d6d347ce2cd2543b /office/catdoc | |
parent | 44560ae20a191fc615fedb28c9c1e07853c377b9 (diff) | |
download | slackbuilds-0b178c4ad90cf01be687f28e74ebd5a8dd8e2ac5.tar.gz |
office/catdoc: Updated for version 0.94.2
Diffstat (limited to 'office/catdoc')
-rw-r--r-- | office/catdoc/catdoc.SlackBuild | 24 | ||||
-rw-r--r-- | office/catdoc/catdoc.info | 6 | ||||
-rw-r--r-- | office/catdoc/slack-desc | 12 |
3 files changed, 28 insertions, 14 deletions
diff --git a/office/catdoc/catdoc.SlackBuild b/office/catdoc/catdoc.SlackBuild index eddcd82466..44104ff2d4 100644 --- a/office/catdoc/catdoc.SlackBuild +++ b/office/catdoc/catdoc.SlackBuild @@ -8,7 +8,7 @@ PRGNAM=catdoc VERSION=${VERSION:-0.94.2} ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -18,10 +18,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 @@ -44,10 +47,12 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ - --disable-debug + --disable-debug \ + --build=$ARCH-slackware-linux make @@ -61,6 +66,13 @@ cd doc cp -a catdoc.1 catppt.1 wordview.1 xls2csv.1 $PKG/usr/man/man1 cd - +mkdir -p $PKG/usr/share/catdoc +cd charsets + rename .rpl .replchars *.rpl + rename .spc .specchars *.spc + cp -a *.txt *.replchars *.specchars $PKG/usr/share/catdoc +cd - + ( cd $PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ xargs strip --strip-unneeded 2> /dev/null || true @@ -74,13 +86,13 @@ cd - ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CODING.STD COPYING CREDITS INSTALL INSTALL.dos NEWS README TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CODING.STD COPYING CREDITS INSTALL INSTALL.dos NEWS README TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild 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/office/catdoc/catdoc.info b/office/catdoc/catdoc.info index 7f487b85a4..0cec631070 100644 --- a/office/catdoc/catdoc.info +++ b/office/catdoc/catdoc.info @@ -1,8 +1,10 @@ PRGNAM="catdoc" VERSION="0.94.2" -HOMEPAGE="http://vitus.wagner.pp.ru/software/catdoc/" +HOMEPAGE="http://vitus.wagner.pp.ru/~vitus/software/catdoc/" DOWNLOAD="http://ftp.wagner.pp.ru/pub/catdoc/catdoc-0.94.2.tar.gz" MD5SUM="243e1680bb3e703616f5adecfee24491" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="Cezary M. Kruk" EMAIL="c.kruk@bigfoot.com" -APPROVED="dsomero" +APPROVED="rworkman" diff --git a/office/catdoc/slack-desc b/office/catdoc/slack-desc index 1ddd97d7e4..eed2b7042f 100644 --- a/office/catdoc/slack-desc +++ b/office/catdoc/slack-desc @@ -7,13 +7,13 @@ |-----handy-ruler------------------------------------------------------| catdoc: catdoc (console MS Word files reader) -catdoc: +catdoc: catdoc: catdoc reads MS Word file and prints readable ASCII text to stdout, catdoc: just like Unix cat command. It also able to produce correct escape catdoc: sequences if some UNICODE characters have to be represented specially catdoc: in your typesetting system such as (La)TeX. -catdoc: -catdoc: -catdoc: -catdoc: -catdoc: +catdoc: +catdoc: +catdoc: +catdoc: +catdoc: |