opt/ghostscript/Pkgfile

29 lines
920 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
2011-02-12 17:52:59 +01:00
# Depends on: util-linux-ng, cups, fontconfig, xorg-libxt, xorg-libxext
2006-02-23 16:26:10 +01:00
name=ghostscript
2011-04-04 09:38:45 +02:00
version=9.02
2011-02-12 17:52:59 +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 \
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-04-04 09:38:45 +02:00
make -j1 so all
make DESTDIR=$PKG install-so 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]*
2006-02-23 16:26:10 +01:00
}