diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-26 19:08:00 +0000 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-06-27 02:07:57 +0000 |
commit | 3a75f09db673e2ed6f8ad69c4de933dc556d2cad (patch) | |
tree | d5a33fe1371b7f7f0e396672d957e39d39e831ef /data/ghostscript/make.sh | |
parent | 85257cec9dfcd4d1089d2201807538f6fad598fb (diff) |
Added ghostscript
Diffstat (limited to 'data/ghostscript/make.sh')
-rw-r--r-- | data/ghostscript/make.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/data/ghostscript/make.sh b/data/ghostscript/make.sh new file mode 100644 index 000000000..a146be73b --- /dev/null +++ b/data/ghostscript/make.sh @@ -0,0 +1,7 @@ +pkg:setup +rm -rf ./zlib # Use system-zlib. +rm -rf ./libpng # Use system-libpng +pkg:configure --disable-cups --disable-compile-inits --disable-gtk --disable-fontconfig --without-libidn --with-system-libtiff --without-x --with-libiconv=native --with-arch_h=./ios/ios_arch-arm.h +make CCAUX="${HOSTCC:-clang}" AUXEXTRALIBS="-lz" CFLAGSAUX="-DSTDINT_TYPES_DEFINED -include stdint.h -include sys/types.h -Doff64_t=__off64_t -D__USE_LARGEFILE64" +# https://www.ghostscript.com/doc/9.22/Make.htm#Cross-compiling +pkg:install install-so CCAUX="${HOSTCC:-clang}" AUXEXTRALIBS="-lz" CFLAGSAUX="-DSTDINT_TYPES_DEFINED -include stdint.h -include sys/types.h -Doff64_t=__off64_t -D__USE_LARGEFILE64" |