2006-02-23 15:26:10 +00:00
|
|
|
# Description: Postscript interpreter
|
2010-02-14 11:38:21 +01:00
|
|
|
# URL: http://www.ghostscript.com
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2012-12-08 18:45:33 +01:00
|
|
|
# Depends on: util-linux, cups, fontconfig, xorg-libxt, xorg-libxext
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=ghostscript
|
2018-09-03 17:36:25 +02:00
|
|
|
version=9.24
|
|
|
|
release=1
|
2016-09-28 12:18:32 +02:00
|
|
|
source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${version/./}/$name-$version.tar.xz
|
2018-09-03 17:36:25 +02:00
|
|
|
http://downloads.sourceforge.net/sourceforge/gs-fonts/$name-fonts-std-8.11.tar.gz)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
2007-08-04 09:43:07 +02:00
|
|
|
cd $name-$version
|
2018-08-25 20:05:46 +02:00
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--enable-cups \
|
2009-01-16 16:27:04 +01:00
|
|
|
--disable-gtk \
|
2013-01-24 17:38:46 +01:00
|
|
|
--disable-dbus \
|
2011-02-12 17:52:59 +01:00
|
|
|
--with-drivers=ALL \
|
2012-02-09 17:45:08 +01:00
|
|
|
--with-ijs \
|
2011-02-12 17:52:59 +01:00
|
|
|
--with-fontpath=/usr/share/ghostscript/fonts:/usr/share/fonts
|
2009-08-01 10:25:59 +02:00
|
|
|
|
2011-12-28 16:48:41 +01:00
|
|
|
make so all
|
2011-04-04 09:38:45 +02:00
|
|
|
make DESTDIR=$PKG install-so install
|
2012-02-09 17:45:08 +01:00
|
|
|
|
|
|
|
cd ijs
|
2013-01-06 09:42:07 +01:00
|
|
|
|
2012-02-09 17:45:08 +01:00
|
|
|
./autogen.sh
|
2016-03-25 13:49:40 +01:00
|
|
|
./configure --prefix=/usr --enable-shared
|
2012-02-09 17:45:08 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
cp -r $SRC/fonts $PKG/usr/share/ghostscript
|
2008-08-04 18:40:17 +02:00
|
|
|
|
2018-03-22 14:40:07 +01:00
|
|
|
rm -r $PKG/usr/share/{doc,man/de}
|
2006-04-26 17:25:54 +00:00
|
|
|
rm $PKG/usr/share/ghostscript/fonts/[CRT]*
|
2012-02-09 17:45:08 +01:00
|
|
|
rm $PKG/usr/bin/ijs_{client,server}_example
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|