diff options
author | rudson <rudson@370017ae-e619-0410-ac65-c121f96126d4> | 2007-02-12 12:16:14 +0000 |
---|---|---|
committer | rudson <rudson@370017ae-e619-0410-ac65-c121f96126d4> | 2007-02-12 12:16:14 +0000 |
commit | 1cdf57b991b03db3e3008c0e01b9c93217ef3295 (patch) | |
tree | f134d12c4c9040a582f74296f6c002955ac4c9eb /dev/tex | |
parent | 5af2b95cd174816e54e44aa16de693bf370e3ca9 (diff) | |
download | slackbuilds-1cdf57b991b03db3e3008c0e01b9c93217ef3295.tar.gz slackbuilds-1cdf57b991b03db3e3008c0e01b9c93217ef3295.tar.bz2 |
latex2html: Atializando...
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@1020 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'dev/tex')
-rwxr-xr-x | dev/tex/latex2html/latex2html.SlackBuild | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/dev/tex/latex2html/latex2html.SlackBuild b/dev/tex/latex2html/latex2html.SlackBuild index 27cdf623..61c62a8f 100755 --- a/dev/tex/latex2html/latex2html.SlackBuild +++ b/dev/tex/latex2html/latex2html.SlackBuild @@ -2,7 +2,7 @@ # # slackbuild for latex2html, by Rudson R. Alves # requires: tetex, perl >=5.1, espgs, netpbm -# tested: latex2html-2002 +# tested: latex2html-2002-2-1 CWD=`pwd` @@ -16,11 +16,11 @@ fi # -------- Variáveis de controle de versão -------------- # Nome da fonte para a qual o slackbuild foi construído e # o seu md5sum -SRC_ORIG="latex2html-2002.tar.gz" -MD5_ORIG="72c2cb20526639cbf6ee2a66223c5cc2" -PACKAGE_ORIG=`echo $SRC_ORIG | sed -r 's/(.*)-(.*)\.(.*\..*)$/\1/'` -VERSION_ORIG=`echo $SRC_ORIG | sed -r 's/(.*)-(.*)\.(.*\..*)$/\2/'` - EXTENSION=`echo $SRC_ORIG | sed -r 's/(.*)-(.*)\.(.*\..*)$/\3/'` +SRC_ORIG="latex2html-2002-2-1.tar.gz" +#MD5_ORIG="72c2cb20526639cbf6ee2a66223c5cc2" +PACKAGE_ORIG=`echo $SRC_ORIG | sed -r 's/(.*)-(.*\-.*\-.*)\.(.*\..*)$/\1/'` +VERSION_ORIG=`echo $SRC_ORIG | sed -r 's/(.*)-(.*\-.*\-.*)\.(.*\..*)$/\2/' | tr - .` + EXTENSION=`echo $SRC_ORIG | sed -r 's/(.*)-(.*\-.*\-.*)\.(.*\..*)$/\3/'` # ------- Códigos de erro para o createpkg -------------- ERROR_WGET=31; ERROR_MAKE=32; ERROR_INSTALL=33 @@ -33,7 +33,7 @@ PACKAGE=$PACKAGE_ORIG ARCH=${ARCH:=i486} SRC_DIR=${SRC:=$CWD} VERSION=${VERSION:=$VERSION_ORIG} -SRC=$PACKAGE-$VERSION.$EXTENSION +SRC=$PACKAGE-$(echo $VERSION | tr . -).$EXTENSION BUILD=${BUILD:=1rud} TMP=${TMP:=/tmp} REPOS=${REPOS:=$TMP} @@ -51,10 +51,10 @@ if [ ! -e $SOURCE ]; then fi # ------------------ Checa md5sum ----------------------- -if [ "$SRC_ORIG" = "$SRC" -o "$MD5" != "$MD5_ORIG" -a "$MD5" != "no" ]; then - SUM=`md5sum $SOURCE | awk '{print $1}'` - [ "$SUM" != "$MD5" ] && exit $ERROR_MD5 -fi +#if [ "$SRC_ORIG" = "$SRC" -o "$MD5" != "$MD5_ORIG" -a "$MD5" != "no" ]; then +# SUM=`md5sum $SOURCE | awk '{print $1}'` +# [ "$SUM" != "$MD5" ] && exit $ERROR_MD5 +#fi # ----------------- ARCH e LIBDIR ----------------------- # Libdir, para arch x86_64 @@ -91,7 +91,7 @@ cd $PKG_DIR CFLAGS="$SLKCFLAGS" ./configure --prefix=$PREFIX --libdir=$LIBDIR $OPTCONF || exit $ERROR_CONF # ---------------- Compila programa --------------------- -make -j3 || exit $ERROR_MAKE +make || exit $ERROR_MAKE # ------------- Diretório Temporário -------------------- # Cria diretório temporário para construção do pacote |