opt/ghostscript/Pkgfile

40 lines
1.1 KiB
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01: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
# Depends on: util-linux, cups, fontconfig, xorg-libxt, xorg-libxext
2006-02-23 16:26:10 +01:00
name=ghostscript
2013-09-02 21:19:40 +02:00
version=9.10
2013-02-16 15:39:03 +01:00
release=1
2011-04-04 09:38:45 +02:00
source=(http://downloads.ghostscript.com/public/$name-$version.tar.bz2
2011-02-12 17:52:59 +01:00
http://downloads.sourceforge.net/sourceforge/gs-fonts/$name-fonts-std-8.11.tar.gz)
2006-02-23 16:26:10 +01:00
build () {
2007-08-04 09:43:07 +02:00
cd $name-$version
2006-02-23 16:26:10 +01:00
./configure --prefix=/usr \
2007-08-04 09:43:07 +02:00
--mandir=/usr/man \
2006-02-23 16:26:10 +01:00
--enable-cups \
--disable-gtk \
--disable-dbus \
2011-02-12 17:52:59 +01:00
--with-drivers=ALL \
--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
cd ijs
2013-01-06 09:42:07 +01:00
./autogen.sh
./configure --prefix=/usr --mandir=/usr/man --enable-shared
make
make DESTDIR=$PKG install
2006-02-23 16:26:10 +01:00
cp -r $SRC/fonts $PKG/usr/share/ghostscript
2008-08-04 18:40:17 +02:00
2007-08-04 11:33:32 +02:00
rm -r $PKG/usr/{share/ghostscript/$version/{examples,doc},man/de}
2006-04-26 19:25:54 +02:00
rm $PKG/usr/share/ghostscript/fonts/[CRT]*
rm $PKG/usr/bin/ijs_{client,server}_example
2006-02-23 16:26:10 +01:00
}