From a9a9af5901f3f47f008a01476b47a11c781d1c0d Mon Sep 17 00:00:00 2001 From: Luis Henrique Date: Thu, 13 May 2010 00:39:17 +0200 Subject: office/latex2html: Updated for version 2008 --- office/latex2html/latex2html.SlackBuild | 15 +++++++-------- office/latex2html/latex2html.info | 2 ++ office/latex2html/slack-desc | 2 +- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/office/latex2html/latex2html.SlackBuild b/office/latex2html/latex2html.SlackBuild index 410c612bbd..2d8c8de8d7 100644 --- a/office/latex2html/latex2html.SlackBuild +++ b/office/latex2html/latex2html.SlackBuild @@ -17,10 +17,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 @@ -42,9 +45,10 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ - --shlibdir=/usr/lib/latex2html \ + --shlibdir=/usr/lib${LIBDIRSUFFIX}/latex2html \ --mandir=/usr/man \ --enable-static=no \ --enable-shared=yes \ @@ -62,12 +66,7 @@ make install DESTDIR=$PKG find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ xargs strip --strip-unneeded 2> /dev/null || true find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ - xargs strip --strip-unneeded 2> /dev/null -) - -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + xargs strip --strip-unneeded 2> /dev/null || true ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION @@ -79,4 +78,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/office/latex2html/latex2html.info b/office/latex2html/latex2html.info index 915c6c9c6b..5db13b80a0 100644 --- a/office/latex2html/latex2html.info +++ b/office/latex2html/latex2html.info @@ -3,6 +3,8 @@ VERSION="2008" HOMEPAGE="http://www.latex2html.org" DOWNLOAD="http://saftsack.fs.uni-bayreuth.de/~latex2ht/current/latex2html-2008.tar.gz" MD5SUM="275ab6cfa8ca9328446b7f40d8dc302e" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="Luis Henrique" EMAIL="lmello.009@gmail.com" APPROVED="dsomero" diff --git a/office/latex2html/slack-desc b/office/latex2html/slack-desc index 39fca95cc9..4e861733ef 100644 --- a/office/latex2html/slack-desc +++ b/office/latex2html/slack-desc @@ -7,7 +7,7 @@ |-----handy-ruler------------------------------------------------------| latex2html: latex2html (LATEX to HTML convertor) -latex2html: +latex2html: latex2html: LATEX2HTML is a convertor written in Perl that converts LATEX latex2html: documents to HTML. This way e.g. scientific papers - primarily latex2html: typeset for printing - can be put on the Web for online viewing. -- cgit v1.2.3