mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
office/hevea: Updated for version 2.29.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
71aa44a139
commit
7c9785c929
2 changed files with 12 additions and 16 deletions
|
@ -5,13 +5,13 @@
|
|||
# Written by Dario Nicodemi dario.sbo@gmail.com
|
||||
|
||||
PRGNAM=hevea
|
||||
VERSION=${VERSION:-2.09}
|
||||
VERSION=${VERSION:-2.29}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
case "$( uname -m )" in
|
||||
i?86) ARCH=i486 ;;
|
||||
i?86) ARCH=i586 ;;
|
||||
arm*) ARCH=arm ;;
|
||||
*) ARCH=$( uname -m ) ;;
|
||||
esac
|
||||
|
@ -22,8 +22,8 @@ TMP=${TMP:-/tmp/SBo}
|
|||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
if [ "$ARCH" = "i586" ]; then
|
||||
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
|
@ -36,7 +36,7 @@ else
|
|||
LIBDIRSUFFIX=""
|
||||
fi
|
||||
|
||||
set -e
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
|
@ -51,14 +51,10 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# Patch the makefile on the fly to override the PREFIX and DESTDIR
|
||||
sed -i -e "\
|
||||
s|^PREFIX=.*|PREFIX=/usr|; \
|
||||
s|^LIBDIR=.*|LIBDIR=\$(PREFIX)/lib${LIBDIRSUFFIX}/hevea|; \
|
||||
s|^LATEXLIBDIR=.*|LATEXLIBDIR=/usr/share/texmf/tex/latex/hevea|" \
|
||||
Makefile
|
||||
|
||||
make
|
||||
make \
|
||||
PREFIX=/usr \
|
||||
LIBDIR=/usr/lib${LIBDIRSUFFIX}/hevea \
|
||||
LATEXLIBDIR=/usr/share/texmf/tex/latex/hevea
|
||||
DESTDIR=$PKG make install
|
||||
|
||||
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="hevea"
|
||||
VERSION="2.09"
|
||||
VERSION="2.29"
|
||||
HOMEPAGE="http://hevea.inria.fr/"
|
||||
DOWNLOAD="http://hevea.inria.fr/old/hevea-2.09.tar.gz"
|
||||
MD5SUM="8a61c7a81433e036d2ea57600f69adf7"
|
||||
DOWNLOAD="http://hevea.inria.fr/distri/hevea-2.29.tar.gz"
|
||||
MD5SUM="20a73c7f8afa3f3edd63ce4e25dbf7d9"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="ocamlbuild"
|
||||
|
|
Loading…
Reference in a new issue