blob: afed218df3590e5e25281b860f59adc2b2819da8 (
plain)
1 # Description: Postscript interpreter
2 # URL: https://www.ghostscript.com
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: util-linux, cups, fontconfig, xorg-libxt, xorg-libxext
5
6 name=ghostscript
7 version=9.53.3
8 release=1
9 source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${version//./}/$name-$version.tar.xz
10 https://downloads.sourceforge.net/sourceforge/gs-fonts/$name-fonts-std-8.11.tar.gz)
11
12 build () {
13 cd $name-$version
14
15 ./configure --prefix=/usr \
16 --enable-cups \
17 --disable-gtk \
18 --disable-dbus \
19 --with-drivers=ALL \
20 --with-ijs \
21 --with-fontpath=/usr/share/ghostscript/fonts:/usr/share/fonts
22
23 make so all
24 make DESTDIR=$PKG install-so install
25
26 cd ijs
27
28 ./autogen.sh
29 ./configure --prefix=/usr --enable-shared
30 make
31 make DESTDIR=$PKG install
32
33 cp -r $SRC/fonts $PKG/usr/share/ghostscript
34
35 rm -r $PKG/usr/share/{doc,man/de}
36 rm $PKG/usr/share/ghostscript/fonts/[CRT]*
37 rm $PKG/usr/bin/ijs_{client,server}_example
38 }
|