2006-02-23 15:26:10 +00:00
|
|
|
# Description: Postscript interpreter
|
2021-03-31 11:45:46 +02:00
|
|
|
# URL: https://www.ghostscript.com
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2022-03-30 16:43:39 +02:00
|
|
|
# Depends on: util-linux cups fontconfig libtiff xorg-libxt xorg-libxext
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=ghostscript
|
2022-03-30 16:43:39 +02:00
|
|
|
version=9.56.0
|
2018-09-03 17:36:25 +02:00
|
|
|
release=1
|
2020-09-11 10:23:17 +02:00
|
|
|
source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${version//./}/$name-$version.tar.xz
|
2021-03-31 11:45:46 +02:00
|
|
|
https://downloads.sourceforge.net/sourceforge/gs-fonts/$name-fonts-std-8.11.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
2021-03-31 11:45:46 +02:00
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2020-09-11 10:23:17 +02:00
|
|
|
|
2021-03-31 11:45:46 +02:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-cups \
|
|
|
|
--disable-gtk \
|
|
|
|
--disable-dbus \
|
|
|
|
--with-drivers=ALL \
|
|
|
|
--with-ijs \
|
|
|
|
--with-fontpath=/usr/share/ghostscript/fonts:/usr/share/fonts
|
2009-08-01 10:25:59 +02:00
|
|
|
|
2021-03-31 11:45:46 +02:00
|
|
|
make so all
|
|
|
|
make DESTDIR=$PKG install-so install
|
2012-02-09 17:45:08 +01:00
|
|
|
|
2021-03-31 11:45:46 +02:00
|
|
|
cd ijs
|
2020-09-11 10:23:17 +02:00
|
|
|
|
2021-03-31 11:45:46 +02:00
|
|
|
./autogen.sh
|
|
|
|
./configure --prefix=/usr --enable-shared
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2012-02-09 17:45:08 +01:00
|
|
|
|
2021-03-31 11:45:46 +02:00
|
|
|
cp -r $SRC/fonts $PKG/usr/share/ghostscript
|
2008-08-04 18:40:17 +02:00
|
|
|
|
2021-03-31 11:45:46 +02:00
|
|
|
rm -r $PKG/usr/share/{doc,man/de}
|
|
|
|
rm $PKG/usr/share/ghostscript/fonts/[CRT]*
|
|
|
|
rm $PKG/usr/bin/ijs_{client,server}_example
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|