diff options
author | Juergen Daubert <jue@jue.li> | 2009-01-16 16:27:04 +0100 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2009-01-16 16:27:04 +0100 |
commit | b3e998c6cab4a03fa66c2b340ee45bd838082180 (patch) | |
tree | 1fef9bac603ee8c30b282970275d8815f88b234b /ghostscript/Pkgfile | |
parent | d8d24b5f275d4c8412ed21122b0e5bbc32266df3 (diff) | |
download | opt-b3e998c6cab4a03fa66c2b340ee45bd838082180.tar.gz opt-b3e998c6cab4a03fa66c2b340ee45bd838082180.tar.xz |
ghostscript: build as shared library
so other progs can link against it. New foomatic-rip 4.0.0 is
the first one doing so.
Diffstat (limited to 'ghostscript/Pkgfile')
-rw-r--r-- | ghostscript/Pkgfile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/ghostscript/Pkgfile b/ghostscript/Pkgfile index 5575d0704..c55af4645 100644 --- a/ghostscript/Pkgfile +++ b/ghostscript/Pkgfile @@ -5,20 +5,24 @@ name=ghostscript version=8.63 -release=1 +release=2 source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2 \ - http://dl.sourceforge.net/sourceforge/gs-fonts/$name-fonts-std-8.11.tar.gz) + http://dl.sourceforge.net/sourceforge/gs-fonts/$name-fonts-std-8.11.tar.gz) build () { cd $name-$version + ./configure --prefix=/usr \ --mandir=/usr/man \ --enable-cups \ + --disable-gtk \ --with-drivers=ALL - make -j1 - make DESTDIR=$PKG install + make -j1 so + make DESTDIR=$PKG install soinstall cp -r $SRC/fonts $PKG/usr/share/ghostscript + mv $PKG/usr/bin/gsc $PKG/usr/bin/gs + rm $PKG/usr/bin/gsx chown root:lp $PKG/etc/cups rm -r $PKG/usr/{share/ghostscript/$version/{examples,doc},man/de} rm $PKG/usr/share/ghostscript/fonts/[CRT]* |