summaryrefslogtreecommitdiff
path: root/academic/reduce-algebra
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2017-01-27 19:18:59 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-28 07:37:54 +0700
commit35a3ef3660268b4849aa37288598b7eed0c6a33a (patch)
tree1282f35b52fbab8c5217fc1d4eefe6b2dcc2a271 /academic/reduce-algebra
parent94478be0b2891ecadf36a6886edae2aabe800486 (diff)
downloadslackbuilds-35a3ef3660268b4849aa37288598b7eed0c6a33a.tar.gz
academic/reduce-algebra: Updated for version 20170124svn3877.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/reduce-algebra')
-rw-r--r--academic/reduce-algebra/README6
-rw-r--r--academic/reduce-algebra/reduce-algebra.SlackBuild40
-rw-r--r--academic/reduce-algebra/reduce-algebra.info8
3 files changed, 19 insertions, 35 deletions
diff --git a/academic/reduce-algebra/README b/academic/reduce-algebra/README
index 6fb32afec8..5b6e1afcff 100644
--- a/academic/reduce-algebra/README
+++ b/academic/reduce-algebra/README
@@ -15,9 +15,3 @@ REDUCE primarily runs on either Portable Standard Lisp (PSL) or Codemist
Standard Lisp (CSL), both of which are included in the SourceForge
distribution. By modern standards, REDUCE is a surprisingly small and
compact application, which runs well on all major operating systems.
-
-NOTE: TeX4ht (a part of the texlive package available at
-SlackBuilds.org) is used to build the REDUCE manual in HTML format. It
-is not built if TeX4ht is not found on the system. The manual in PDF
-format is built anyway. The HTML manual is also available on the REDUCE
-homepage: http://reduce-algebra.sourceforge.net/manual/manual.html
diff --git a/academic/reduce-algebra/reduce-algebra.SlackBuild b/academic/reduce-algebra/reduce-algebra.SlackBuild
index 27ba6c5e23..04017ffa87 100644
--- a/academic/reduce-algebra/reduce-algebra.SlackBuild
+++ b/academic/reduce-algebra/reduce-algebra.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=reduce-algebra
-VERSION=${VERSION:-20161220svn3844}
+VERSION=${VERSION:-20170124svn3877}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,8 +63,12 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM
+rm -rf $SRCNAM ${SRCNAM}-addnl
+mkdir -p ${SRCNAM}-addnl
tar xvf $CWD/$SRCNAM.tar.gz
+tar xvf $CWD/reduce-common_${VERSION:0:4}-${VERSION:4:2}-${VERSION:6:2}_all.tgz -C ${SRCNAM}-addnl
+chown -R root:root ${SRCNAM}-addnl/usr/share/doc/reduce
+chmod -R 644 ${SRCNAM}-addnl/usr/share/doc/reduce/*
cd $SRCNAM
chown -R root:root .
find -L . \
@@ -80,20 +84,6 @@ CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" ./configure --with-psl
make
-if [ $(command -v mk4ht) ]; then
- cd doc/manual
- make
- cd ../..
- TEX4HT=yes
-else
- cat << EOF
-TeX4ht (a part of TeX Live) is not installed.
-The HTML version of the manual will not be created.
-See README for more details.
-EOF
- TEX4HT=no
-fi
-
# The Makefile has no 'install' target (yet). Let's do by hand.
# The below code is mainly based on debianbuild/reduce/debian/rules
@@ -103,25 +93,23 @@ mkdir -p \
$PKG/usr/share/reduce/{packages,fonts} \
$PKG/usr/lib$LIBDIRSUFFIX/reduce/{pslbuild/{psl,red},cslbuild/csl} \
$PKG/usr/doc/$PRGNAM-$VERSION/{breduce,manual-tex} \
+ $PKG/usr/doc/$PRGNAM-$VERSION/manual-html \
$PKG/usr/man/man1 \
$PKG/usr/share/emacs/site-lisp/reduce
-if [ "$TEX4HT" = "yes" ]; then
- mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/manual-html
-fi
# copy documentation files
cp -r BUGS Contributor-Release.txt DEPENDENCY_TRACKING README README.BUILDING \
csl/reduce.doc/{BINARY-LICENSE.txt,BSD-LICENSE.txt,LGPL-2.1.txt} \
- doc/manual/manual.pdf doc/projects.txt buglist/ contrib/ doc/primers/ doc/notes/ generic/texmacs/ \
+ doc/projects.txt buglist/ contrib/ doc/primers/ doc/notes/ generic/texmacs/ \
$PKG/usr/doc/$PRGNAM-$VERSION
-cp doc/manual/*.tex $PKG/usr/doc/$PRGNAM-$VERSION/manual-tex/
+cp doc/manual/* $PKG/usr/doc/$PRGNAM-$VERSION/manual-tex/
+rm -f $PKG/usr/doc/$PRGNAM-$VERSION/manual-tex/manual.pdf
cp generic/breduce/breduce.{tex,bbl,pdf} $PKG/usr/doc/$PRGNAM-$VERSION/breduce/
cp -r doc/primers/ $PKG/usr/doc/$PRGNAM-$VERSION/
-if [ "$TEX4HT" = "yes" ]; then
- cp doc/manual/{redlogo.png,manual*.html,manual*.png,manual.css} $PKG/usr/doc/$PRGNAM-$VERSION/manual-html
- for n in bild cmsy10 gnuplotex turtleeg; do cp doc/manual/${n}*.png $PKG/usr/doc/$PRGNAM-$VERSION/manual-html ; done
- cp $PKG/usr/doc/$PRGNAM-$VERSION/manual-html/manual.html $PKG/usr/doc/$PRGNAM-$VERSION/manual-html/index.html
-fi
+cp ../${SRCNAM}-addnl/usr/share/doc/reduce/{*.html,*.png,*.css} \
+ $PKG/usr/doc/$PRGNAM-$VERSION/manual-html
+zcat ../${SRCNAM}-addnl/usr/share/doc/reduce/manual.pdf.gz \
+ > $PKG/usr/doc/$PRGNAM-$VERSION/manual.pdf
chmod -R -x+X $PKG/usr/doc/$PRGNAM-$VERSION/*
# copy man files
diff --git a/academic/reduce-algebra/reduce-algebra.info b/academic/reduce-algebra/reduce-algebra.info
index f2dd133873..cc39a23ecd 100644
--- a/academic/reduce-algebra/reduce-algebra.info
+++ b/academic/reduce-algebra/reduce-algebra.info
@@ -1,8 +1,10 @@
PRGNAM="reduce-algebra"
-VERSION="20161220svn3844"
+VERSION="20170124svn3877"
HOMEPAGE="http://reduce-algebra.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/reduce-algebra/snapshot_2016-12-20/Reduce-svn3844-src.tar.gz"
-MD5SUM="06be1eb5791649ef3d035e2100f83ca1"
+DOWNLOAD="http://downloads.sourceforge.net/reduce-algebra/snapshot_2017-01-24/Reduce-svn3877-src.tar.gz
+ http://downloads.sourceforge.net/reduce-algebra/snapshot_2017-01-24/reduce-common_2017-01-24_all.tgz"
+MD5SUM="8fd368f3daa5fb67db6100150f5949ec
+ 4568a41a0a4a8dd3fe3282fefb5c593d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""