office/latex2html: Updated for version 2008
This commit is contained in:
parent
457acd2fa0
commit
a9a9af5901
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue