diff options
-rw-r--r-- | office/latex2html/latex2html.SlackBuild | 15 | ||||
-rw-r--r-- | office/latex2html/latex2html.info | 2 | ||||
-rw-r--r-- | 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 410c612bbdf36..2d8c8de8d7a2e 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 915c6c9c6b835..5db13b80a088b 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 39fca95cc9314..4e861733efdb1 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. |