opt/ghostscript/Pkgfile

33 lines
934 B
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
2007-01-06 12:52:09 +01:00
# Depends on: cups, fontconfig, xorg-libxt, xorg-libxext
2006-02-23 16:26:10 +01:00
name=ghostscript
2010-02-14 11:38:21 +01:00
version=8.71
release=2
2010-02-14 11:38:21 +01:00
source=(http://ghostscript.com/releases/$name-$version.tar.xz
http://download.sourceforge.net/gs-fonts/$name-fonts-std-8.11.tar.gz
2010-02-14 11:38:21 +01:00
$name-$version.patch)
2006-02-23 16:26:10 +01:00
build () {
2007-08-04 09:43:07 +02:00
cd $name-$version
2010-02-14 11:38:21 +01:00
patch -p1 -i $SRC/$name-$version.patch
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 \
2006-02-23 16:26:10 +01:00
--with-drivers=ALL
2009-08-01 10:25:59 +02:00
2010-02-14 11:38:21 +01:00
make -j1 so
make DESTDIR=$PKG install soinstall
2006-02-23 16:26:10 +01:00
cp -r $SRC/fonts $PKG/usr/share/ghostscript
2008-08-04 18:40:17 +02:00
mv $PKG/usr/bin/gsc $PKG/usr/bin/gs
rm $PKG/usr/bin/gsx
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]*
2006-02-23 16:26:10 +01:00
}