opt/ghostscript/Pkgfile
2006-02-23 15:26:10 +00:00

25 lines
807 B
Plaintext

# Description: Postscript interpreter
# URL: http://www.cs.wisc.edu/~ghost/doc/gnu/index.htm
# Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de
# Depends on: cups, x11
name=ghostscript
version=8.15.1
release=1
source=(ftp://ftp3.easysw.com/pub/$name/$version/espgs-$version-source.tar.bz2 \
http://dl.sourceforge.net/sourceforge/gs-fonts/$name-fonts-std-8.11.tar.gz)
build () {
cd espgs-$version
./configure --prefix=/usr \
--enable-cups \
--with-drivers=ALL
make
make prefix=$PKG/usr install_prefix=$PKG install
cp -r $SRC/fonts $PKG/usr/share/ghostscript
rm -r $PKG/usr/{lib/ghostscript,man/de}
rm -r $PKG/usr/share/ghostscript/8.15/{examples,doc}
rm $PKG/usr/share/ghostscript/fonts/{C*,R*,T*}
}