Fix typo in scripts/setup-ubuntu.sh
[termux-packages] / disabled-packages / ghostscript / build.sh
CommitLineData
25bea57f
FF
1TERMUX_PKG_HOMEPAGE=http://www.ghostscript.com/
2TERMUX_PKG_DESCRIPTION="Interpreter for the PostScript language and for PDF"
3TERMUX_PKG_VERSION=9.18
4TERMUX_PKG_SRCURL=http://downloads.ghostscript.com/public/ghostscript-${TERMUX_PKG_VERSION}.tar.gz
5TERMUX_PKG_DEPENDS="libtiff"
29922181 6TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-system-libtiff --enable-little-endian"
25bea57f
FF
7
8# See " it possible to cross compile GhostPCL/GhostXPS" at bottom of
9# http://ghostscript.com/FAQ.html
10
11termux_step_pre_configure () {
29922181
FF
12 export CCAUX=gcc
13
25bea57f
FF
14 local _ARCHFILE=$TERMUX_PKG_BUILDER_DIR/arch-arm.h
15 $TERMUX_TOUCH -d "next hour" $_ARCHFILE
16 perl -p -i -e "s|TARGET_ARCH_FILE=.*|TARGET_ARCH_FILE=$_ARCHFILE|" $TERMUX_PKG_SRCDIR/Makefile.in
17}