postgresql: Build with bundled time zone database
[termux-packages] / disabled-packages / texlive / build.sh
CommitLineData
cb2a32e4 1TERMUX_PKG_HOMEPAGE=https://www.tug.org/texlive/
2TERMUX_PKG_DESCRIPTION="TeX Live is a distribution of the TeX typesetting system."
3TERMUX_PKG_VERSION=20160523
4TERMUX_PKG_SRCURL=ftp://tug.org/historic/systems/texlive/${TERMUX_PKG_VERSION:0:4}/texlive-${TERMUX_PKG_VERSION}b-source.tar.xz
5TERMUX_PKG_SHA256="a8b32ca47f0a403661a09e202f4567a995beb718c18d8f81ca6d76daa1da21ed"
290d898d 6TERMUX_PKG_DEPENDS="freetype, libpng, libgd, libgmp, libmpfr, libicu, liblua, poppler"
cb2a32e4 7TERMUX_PKG_FOLDERNAME=texlive-${TERMUX_PKG_VERSION}-source
b6c7cb34 8TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
cb2a32e4 9AR=ar \
10RANLIB=ranlib \
11BUILDAR=ar \
12BUILDRANLIB=ranlib \
290d898d 13--prefix=$TERMUX_PREFIX \
cb2a32e4 14--build=$TERMUX_BUILD_TUPLE \
290d898d
FF
15--enable-ttfdump=no \
16--enable-makeindexk=no \
17--enable-makejvf=no \
18--enable-mendexk=no \
19--enable-musixtnt=no \
20--enable-ps2pk=no \
21--enable-seetexk=no \
22--enable-gregorio=no \
cb2a32e4 23--disable-native-texlive-build \
290d898d
FF
24--disable-bibtexu \
25--disable-dvisvgm \
cb2a32e4 26--disable-dialog \
27--disable-psutils \
290d898d 28--disable-multiplatform \
cb2a32e4 29--disable-t1utils \
290d898d
FF
30--disable-luatex \
31--disable-luajittex \
32--disable-mflua \
33--disable-mfluajit \
34--disable-xz \
cb2a32e4 35--without-texinfo \
36--without-xdvipdfmx \
37--without-texi2html \
290d898d
FF
38--with-system-cairo \
39--with-system-graphite2 \
40--with-system-harfbuzz \
41--with-system-gd \
42--with-system-gmp \
cb2a32e4 43--with-system-icu \
290d898d
FF
44--with-system-lua \
45--with-system-mpfr \
cb2a32e4 46--with-system-poppler \
290d898d 47--with-system-zlib \
cb2a32e4 48--with-system-xpdf \
290d898d
FF
49--without-x \
50--with-banner-add=/Termux"
cb2a32e4 51
290d898d
FF
52termux_step_post_extract_package () {
53 rm -r $TERMUX_PKG_SRCDIR/utils/pmx
cb2a32e4 54}
55
56termux_step_post_make_install () {
290d898d 57 cp $TERMUX_PKG_BUILDER_DIR/termux-install-tl $TERMUX_PREFIX/bin
cb2a32e4 58}
59
60termux_step_create_debscripts () {
290d898d
FF
61 echo 'echo "retrieving texlive..."' > postinst
62 echo "termux-install-tl" >> postinst
63 echo "exit 0" >> postinst
64 chmod 0755 postinst
cb2a32e4 65}