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" TETEX_BUILDSYSTEM_TAMER = "Michael 'Mickey' Lauer " 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" S = ${WORKDIR}/tetex-src-${PV} inherit autotools PARALLEL_MAKE = "" export BUILDCC = "${BUILD_CC}" export BUILDCFLAGS = "${BUILD_CFLAGS}" export BUILDLDFLAGS = "${BUILD_LDFLAGS}" export BUILDCCLD = "${BUILD_CC}" EXTRA_OECONF = "--with-system-libgd \ --with-system-ncurses \ --with-ncurses-include=${STAGING_INCDIR} \ --with-system-pnglib \ --with-system-t1lib \ --with-system-zlib \ --without-dialog \ --without-xdvik" # NOTE: In theory, teTeX has a good buildsystem, which automatically detects # whether we are cross-compiling and compiles the necessary host tools. # Unfortunately it doesn't work in our case and it looks easier to add # tetex-native for the time being. Cheers, Mickey. do_configure () { oe_runconf ln -sf ${STAGING_BINDIR} ${S}/utils/texinfo/tools/info ln -sf ${STAGING_BINDIR} ${S}/utils/texinfo/tools/makeinfo cat >${S}/utils/texinfo/tools/Makefile <