summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-08-07 21:09:16 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-07 21:09:16 +0000
commitc93d0812f0e5b859d3bdb45810b068d83639a021 (patch)
tree5ef2924fd91e91e2cc84df09c17bfdaa6d28bc45
parente601a38b4c90796dbd924ca19aa0323cedb38349 (diff)
tetex: add tetex-texmf, package tetex more fine granular
-rw-r--r--packages/tetex/tetex-texmf_3.0.bb75
-rw-r--r--packages/tetex/tetex_3.0.bb16
2 files changed, 84 insertions, 7 deletions
diff --git a/packages/tetex/tetex-texmf_3.0.bb b/packages/tetex/tetex-texmf_3.0.bb
new file mode 100644
index 0000000000..76c0dece2a
--- /dev/null
+++ b/packages/tetex/tetex-texmf_3.0.bb
@@ -0,0 +1,75 @@
+DESCRIPTION = "teTeX data"
+LICENSE = "GPL"
+SECTION = "console/utils"
+PR = "r0"
+
+SRC_URI = "ftp://dante.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-texmf-${PV}.tar.gz"
+S = "${WORKDIR}"
+
+STUFF = "aliases ChangeLog doc dvips LICENSE.texmf makeindex metapost omega \
+ scripts texdoctk bibtex context dvipdfm fonts ls-R metafont \
+ mft release-tetex-texmf.txt tex web2c "
+
+do_install() {
+ install -d ${D}${datadir}/texmf
+ for i in ${STUFF}
+ do
+ cp -a $i ${D}${datadir}/texmf
+ done
+}
+
+ALLOW_EMPTY_${PN} = "1"
+
+RRECOMMENDS_${PN} = " \
+ tetex-texmf-common \
+ tetex-texmf-bibtex \
+ tetex-texmf-context \
+ tetex-texmf-texdoc \
+ tetex-texmf-dvipdfm \
+ tetex-texmf-dvips \
+ tetex-texmf-fonts \
+ tetex-texmf-makeindex \
+ tetex-texmf-metafont \
+ tetex-texmf-metapost \
+ tetex-texmf-mft \
+ tetex-texmf-omega \
+ tetex-texmf-scripts \
+ tetex-texmf-tex \
+ tetex-texmf-texdoctk \
+ tetex-texmf-web2c "
+
+PACKAGES = "tetex-texmf \
+ tetex-texmf-bibtex \
+ tetex-texmf-context \
+ tetex-texmf-texdoc \
+ tetex-texmf-dvipdfm \
+ tetex-texmf-dvips \
+ tetex-texmf-fonts \
+ tetex-texmf-makeindex \
+ tetex-texmf-metafont \
+ tetex-texmf-metapost \
+ tetex-texmf-mft \
+ tetex-texmf-omega \
+ tetex-texmf-scripts \
+ tetex-texmf-tex \
+ tetex-texmf-texdoctk \
+ tetex-texmf-web2c \
+ tetex-texmf-common"
+
+FILES_${PN} = ""
+FILES_tetex-texmf-common = "${datadir}/texmf"
+FILES_tetex-texmf-bibtex = "${datadir}/texmf/bibtex"
+FILES_tetex-texmf-context = "${datadir}/texmf/context"
+FILES_tetex-texmf-texdoc = "${datadir}/texmf/doc"
+FILES_tetex-texmf-dvipdfm = "${datadir}/texmf/dvipdfm"
+FILES_tetex-texmf-dvips = "${datadir}/texmf/dvips"
+FILES_tetex-texmf-fonts = "${datadir}/texmf/fonts"
+FILES_tetex-texmf-makeindex = "${datadir}/texmf/makeindex"
+FILES_tetex-texmf-metafont = "${datadir}/texmf/metafont"
+FILES_tetex-texmf-metapost = "${datadir}/texmf/metapost"
+FILES_tetex-texmf-mft = "${datadir}/texmf/mft"
+FILES_tetex-texmf-omega = "${datadir}/texmf/omega"
+FILES_tetex-texmf-scripts = "${datadir}/texmf/scripts"
+FILES_tetex-texmf-tex = "${datadir}/texmf/tex"
+FILES_tetex-texmf-texdoctk = "${datadir}/texmf/texdoctk"
+FILES_tetex-texmf-web2c = "${datadir}/texmf/web2c"
diff --git a/packages/tetex/tetex_3.0.bb b/packages/tetex/tetex_3.0.bb
index 75f39170b2..c3f52751e7 100644
--- a/packages/tetex/tetex_3.0.bb
+++ b/packages/tetex/tetex_3.0.bb
@@ -2,9 +2,8 @@ DESCRIPTION = "teTeX is a complete TeX distribution for UNIX compatible systems"
LICENSE = "GPL"
SECTION = "console/utils"
DEPENDS = "tetex-native flex gd ncurses libpng t1lib x11 xau xext xt zlib"
-RDEPENDS_tetex = "tetex-data"
TETEX_BUILDSYSTEM_TAMER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
-PR = "r0"
+PR = "r2"
SRC_URI = "ftp://dante.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-src-${PV}.tar.gz \
file://configure.patch;patch=1"
@@ -49,6 +48,7 @@ do_install() {
install -d ${D}${bindir}
install -d ${D}${libdir}
install -d ${D}${datadir}/texmf
+ install -d ${D}${localstatedir}/lib/textmf
export bindir="${D}${bindir}" \
sbindir="${D}${sbindir}" \
@@ -70,8 +70,10 @@ do_install() {
MAKE="make -e" oe_runmake -e install
}
-#
-# FIXME: Package more fine granular
-#
-PACKAGES += "tetex-data"
-FILES_tetex-data = "${datadir}"
+RRECOMMENDS_${PN} = "tetex-texmf-dvips tetex-texmf-texconfig tetex-texmf-fonts"
+PACKAGES =+ "tetex-texmf-dvips tetex-texmf-texconfig tetex-texi2html"
+FILES_${PN} += "${localstatedir} ${datadir}"
+FILES_${PN}-doc += "${datadir}/texinfo ${datadir}/man ${datadir}/info"
+FILES_tetex-texmf-dvips = "${datadir}/texmf/dvips"
+FILES_tetex-texmf-texconfig = "${datadir}/texmf/texconfig"
+FILES_tetex-texi2html = "${datadir}/texi2html"