aboutsummaryrefslogtreecommitdiff
path: root/office/texlive/texlive.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-03-05 14:19:30 -0600
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 13:26:02 +0200
commit1615495619528a32f7873f95e05ea846b96f9260 (patch)
tree2e163f947495e082ca4928cfd45f96c554fbe714 /office/texlive/texlive.SlackBuild
parentbeeb7097392abd5f7b810dae46abe4e9d3cacf76 (diff)
office/texlive: Added epstopdf and a patch for libpng14
* Added epstopdf to the package (this was included in tetex, so we need it here) * Included a patch from Mikhail Zotov to link libpng14
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 bf9ccc0f71546..39417bc760a30 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 {} \;