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" | |
41e93458 | 3 | TERMUX_PKG_VERSION=9.22 |
2c66b8cd | 4 | TERMUX_PKG_REVISION=1 |
41e93458 | 5 | TERMUX_PKG_SHA256=3f84d8404c840ea62b46b5ebf215dfdb83a20c3ba2419fd6985eb7bce050f007 |
91a5322f | 6 | TERMUX_PKG_SRCURL=https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${TERMUX_PKG_VERSION//.}/ghostpdl-${TERMUX_PKG_VERSION}.tar.gz |
2c66b8cd FF |
7 | TERMUX_PKG_DEPENDS="libandroid-support, libtiff, libjpeg-turbo, libpng, libexpat, freetype, fontconfig, libidn, littlecms, openjpeg" |
8 | TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" | |
9 | ac_cv_lib_lcms2__cmsCreateMutex=yes | |
10 | CCAUX=gcc | |
11 | --build=$TERMUX_BUILD_TUPLE | |
12 | --enable-little-endian | |
13 | --with-arch_h=$TERMUX_PKG_BUILDER_DIR/arch-${TERMUX_ARCH}.h | |
14 | --without-pcl | |
15 | --without-x | |
16 | --with-system-libtiff | |
17 | " | |
91a5322f HG |
18 | |
19 | termux_step_post_extract_package () { | |
2c66b8cd | 20 | rm -rdf $TERMUX_PKG_SRCDIR/{jpeg,libpng,expat,jasper,freetype,lcms2,tiff,openjpeg} |
91a5322f | 21 | } |