opt/ghostscript/Pkgfile

29 lines
899 B
Plaintext
Raw Normal View History

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
2011-02-12 17:52:59 +01:00
# Depends on: util-linux-ng, cups, fontconfig, xorg-libxt, xorg-libxext
2006-02-23 15:26:10 +00:00
name=ghostscript
2011-02-12 17:52:59 +01:00
version=9.01
release=1
source=(http://ghostscript.com/releases/$name-$version.tar.bz2
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
2006-02-23 15:26:10 +00:00
./configure --prefix=/usr \
2007-08-04 09:43:07 +02:00
--mandir=/usr/man \
2006-02-23 15:26:10 +00:00
--enable-cups \
--disable-gtk \
2011-02-12 17:52:59 +01:00
--with-drivers=ALL \
--with-fontpath=/usr/share/ghostscript/fonts:/usr/share/fonts
2009-08-01 10:25:59 +02:00
2011-02-12 17:52:59 +01:00
make
make DESTDIR=$PKG install soinstall
2006-02-23 15:26:10 +00: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 17:25:54 +00:00
rm $PKG/usr/share/ghostscript/fonts/[CRT]*
2006-02-23 15:26:10 +00:00
}