[Lunar-commits] <moonbase> xindy: an index processor
Paul Bredbury
brebs at lunar-linux.org
Sun Feb 20 05:21:02 CET 2011
commit dbcecda40d37de798f231b6c3b478ecbcbe433ae
Author: Paul Bredbury <brebs at lunar-linux.org>
Date: Sun Feb 20 11:21:02 2011 +0700
xindy: an index processor
---
zbeta/xindy/BUILD | 26 ++++++++++++++++++++++++++
zbeta/xindy/DEPENDS | 2 ++
zbeta/xindy/DETAILS | 20 ++++++++++++++++++++
zbeta/xindy/POST_INSTALL | 2 ++
4 files changed, 50 insertions(+), 0 deletions(-)
diff --git a/zbeta/xindy/BUILD b/zbeta/xindy/BUILD
new file mode 100644
index 0000000..53d942c
--- /dev/null
+++ b/zbeta/xindy/BUILD
@@ -0,0 +1,26 @@
+(
+
+ # Patch from http://scmweb.sourcemage.org/?p=smgl/grimoire.git;a=tree;f=latex/texlive
+ # Use Linux-sensible directories
+ patch_it $SOURCE_CACHE/$SOURCE2 0 &&
+
+ # Fonts dir
+ sedit 's:^\(OSFONTDIR =\).*:\1 /usr/share/fonts:' texk/kpathsea/texmf.cnf &&
+
+ # Use /usr/share/texmf and /usr/share/texmf-dist
+ find -name Makefile\* -print0 | xargs -0 sed -i -e "s:\${prefix}/texmf:\${datadir}/texmf:" &&
+ find -name configure -print0 | xargs -0 sed -i -e "s:\${prefix}/texmf:\${datadir}/texmf:" &&
+ find -name \*.info -print0 | xargs -0 sed -i -e "s:/usr/local:/usr:" &&
+ find -name \*.texi -print0 | xargs -0 sed -i -e "s:/usr/local:/usr:" &&
+ find -name \*.synctex -print0 | xargs -0 sed -i -e "s:/usr/local:/usr:" &&
+ sed -i -e "s:\$(DESTDIR)\$(texconfigdir):/usr/share/texmf/texconfig:g" -e "s:\$(DESTDIR)\$(texconfdir):/usr/share:g" texk/tetex/Makefile.* &&
+
+ # xindy scripts
+ sedit "s:texmf/scripts:share/texmf/scripts:" utils/xindy/xindy/user-commands/Makefile.in &&
+
+ # Only build xindy
+ OPTS+=" --datadir=/usr/share --disable-all-pkgs --enable-xindy --enable-ipc --enable-shared --enable-static=no --disable-multiplatform --disable-native-texlive-build --with-gs=gs" &&
+
+ default_build
+
+) > $C_FIFO 2>&1
diff --git a/zbeta/xindy/DEPENDS b/zbeta/xindy/DEPENDS
new file mode 100644
index 0000000..2d4840b
--- /dev/null
+++ b/zbeta/xindy/DEPENDS
@@ -0,0 +1,2 @@
+# Requires texlive to be installed first
+depends texlive
diff --git a/zbeta/xindy/DETAILS b/zbeta/xindy/DETAILS
new file mode 100644
index 0000000..4222513
--- /dev/null
+++ b/zbeta/xindy/DETAILS
@@ -0,0 +1,20 @@
+ MODULE=xindy
+ VERSION=20100722
+ SOURCE=texlive-$VERSION-source.tar.xz
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/texlive-$VERSION-source
+ SOURCE2=texlive-20091107-texmf.cnf_fix.patch
+ SOURCE_URL=ftp://tug.org/historic/systems/texlive/${VERSION:0:4}
+ SOURCE2_URL=$PATCH_URL
+ SOURCE_VFY=sha1:c5573c0617f1a44235212277959f48fb76590542
+ SOURCE2_VFY=sha1:807b2d96c86b24cb0743909c13e08172925eee85
+ WEB_SITE=http://www.tug.org/texlive/
+ ENTERED=20110219
+ UPDATED=20110219
+ SHORT="An index processor from texlive"
+
+cat << EOF
+xindy is an index processor that can be used to generate book-like
+indexes for arbitrary document-preparation systems. This includes
+systems such as TeX and LaTeX, the roff-family, and SGML/XML-based
+systems (e.g. HTML).
+EOF
diff --git a/zbeta/xindy/POST_INSTALL b/zbeta/xindy/POST_INSTALL
new file mode 100644
index 0000000..21dd003
--- /dev/null
+++ b/zbeta/xindy/POST_INSTALL
@@ -0,0 +1,2 @@
+fmtutil-sys --quiet --missing
+fmtutil-sys --quiet --all > /dev/null
More information about the Lunar-commits
mailing list