Commit | Line | Data |
---|---|---|
91a5322f HG |
1 | TERMUX_PKG_HOMEPAGE=http://www.ghostscript.com/ |
2 | TERMUX_PKG_DESCRIPTION="Interpreter for the PostScript language and for PDF" | |
3 | TERMUX_PKG_VERSION=9.21 | |
4 | TERMUX_PKG_SRCURL=https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${TERMUX_PKG_VERSION//.}/ghostpdl-${TERMUX_PKG_VERSION}.tar.gz | |
5 | TERMUX_PKG_SHA256=82abf56e96e27cf4d1b17c0671f9ab3c5222454131588a49d06c97a332988e8d | |
6 | TERMUX_PKG_DEPENDS="libandroid-support, libtiff, libjpeg-turbo, libpng, libexpat" | |
7 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-system-libtiff \ | |
8 | --enable-little-endian \ | |
9 | --without-x \ | |
10 | --with-arch_h=$TERMUX_PKG_BUILDER_DIR/arch-${TERMUX_ARCH}.h \ | |
11 | CCAUX=gcc \ | |
12 | --build=$TERMUX_BUILD_TUPLE \ | |
13 | --without-pcl" | |
14 | ||
15 | termux_step_post_extract_package () { | |
16 | rm -rdf $TERMUX_PKG_SRCDIR/{jpeg,libpng,expat,jasper,freetype,lcms,tiff} | |
17 | } |