summaryrefslogtreecommitdiff
path: root/ghostscript/Pkgfile
blob: 1f2f4b137a58c9e6904ae19ce222431d08bb1119 (plain)
    1 # Description: Postscript interpreter
    2 # URL:         http://www.ghostscript.com
    3 # Maintainer:  Juergen Daubert, jue at crux dot nu
    4 # Depends on:  util-linux, cups, fontconfig, xorg-libxt, xorg-libxext
    5 
    6 name=ghostscript
    7 version=9.15
    8 release=1
    9 source=(http://downloads.ghostscript.com/public/$name-$version.tar.bz2
   10         http://downloads.sourceforge.net/sourceforge/gs-fonts/$name-fonts-std-8.11.tar.gz)
   11 
   12 build () {
   13     cd $name-$version
   14 
   15     ./configure --prefix=/usr \
   16                 --mandir=/usr/man \
   17                 --enable-cups \
   18                 --disable-gtk \
   19                 --disable-dbus \
   20                 --with-drivers=ALL \
   21                 --with-ijs \
   22                 --with-fontpath=/usr/share/ghostscript/fonts:/usr/share/fonts
   23 
   24     make so all 
   25     make DESTDIR=$PKG install-so install
   26 
   27     cd ijs
   28     
   29     ./autogen.sh
   30     ./configure --prefix=/usr --mandir=/usr/man --enable-shared
   31     make
   32     make DESTDIR=$PKG install
   33 
   34     cp -r $SRC/fonts $PKG/usr/share/ghostscript
   35 
   36     rm -r $PKG/usr/{share/ghostscript/$version/{examples,doc},man/de}
   37     rm $PKG/usr/share/ghostscript/fonts/[CRT]*
   38     rm $PKG/usr/bin/ijs_{client,server}_example
   39 }

Generated by cgit