summaryrefslogtreecommitdiffstats
path: root/office/texlive/texlive.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/texlive/texlive.SlackBuild')
-rwxr-xr-x[-rw-r--r--]office/texlive/texlive.SlackBuild13
1 files changed, 12 insertions, 1 deletions
diff --git a/office/texlive/texlive.SlackBuild b/office/texlive/texlive.SlackBuild
index bf9ccc0f71..39417bc760 100644..100755
--- a/office/texlive/texlive.SlackBuild
+++ b/office/texlive/texlive.SlackBuild
@@ -28,7 +28,7 @@
PRGNAM=texlive
VERSION=20091107
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
SOURCE_VERS=$VERSION
@@ -69,6 +69,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# If on -current, uncomment this line:
+#patch -p1 < $CWD/texlive.png14.diff
+
# etex is something for eclipse
# Building with --disable-xindy as it requires libffcall
# "kpsewhich -var-value=SELFAUTOPARENT" strips two trailing directories
@@ -171,6 +174,14 @@ cp -a \
AUTHORS COPYING NEWS README TODO \
$PKG/usr/doc/texlive-$VERSION/texi2html-$TEXI2HTML
+# Now add epstopdf
+mkdir -p $PKG/usr/doc/texlive-$VERSION/eps2pdf
+cat $CWD/epstopdf/epstopdf.pl > $PKG/usr/share/texmf/bin/epstopdf
+cat $CWD/epstopdf/epstopdf.1 > $PKG/usr/share/texmf/doc/man/man1/epstopdf.1
+cat $CWD/epstopdf/epstopdf.pdf > $PKG/usr/doc/texlive-$VERSION/eps2pdf/epstopdf.pdf
+cat $CWD/epstopdf/README > $PKG/usr/doc/texlive-$VERSION/eps2pdf/README
+chmod 0755 $PKG/usr/share/texmf/bin/epstopdf
+
# Compress man pages
( cd $PKG/usr/share/texmf/doc/man || exit 1
find . -type f -name "Makefile" -exec rm -f {} \;