2006-02-23 15:26:10 +00:00
|
|
|
|
# Description: Postscript interpreter
|
2007-08-04 09:43:07 +02:00
|
|
|
|
# URL: http://www.ghostscript.com/awki
|
2006-02-23 15:26:10 +00:00
|
|
|
|
# Maintainer: J<>rgen Daubert, juergen dot daubert at t-online dot de
|
2007-01-06 12:52:09 +01:00
|
|
|
|
# Depends on: cups, fontconfig, xorg-libxt, xorg-libxext
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
name=ghostscript
|
2007-08-04 09:43:07 +02:00
|
|
|
|
version=8.60
|
2007-08-04 11:33:32 +02:00
|
|
|
|
release=2
|
2007-08-04 09:43:07 +02:00
|
|
|
|
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2 \
|
2006-02-23 15:26:10 +00:00
|
|
|
|
http://dl.sourceforge.net/sourceforge/gs-fonts/$name-fonts-std-8.11.tar.gz)
|
|
|
|
|
|
|
|
|
|
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 \
|
|
|
|
|
--with-drivers=ALL
|
2007-07-28 10:07:17 +02:00
|
|
|
|
make -j1
|
2007-08-04 09:43:07 +02:00
|
|
|
|
make DESTDIR=$PKG install
|
2006-02-23 15:26:10 +00:00
|
|
|
|
cp -r $SRC/fonts $PKG/usr/share/ghostscript
|
2006-04-26 17:25:54 +00:00
|
|
|
|
|
2006-10-31 17:53:02 +01:00
|
|
|
|
chown root:lp $PKG/etc/cups
|
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
|
|
|
|
}
|