# [V] 7.07.1
# [S] 3-4
-# [D] espgs-7.07.1-source.tar.bz2 ftp://ftp.easysw.com/pub/ghostscript/
-# [D] gnu-gs-fonts-std-6.0.tar.gz ftp://ftp.easysw.com/pub/ghostscript/
-# [D] gnu-gs-fonts-other-6.0.tar.gz ftp://ftp.easysw.com/pub/ghostscript/
+# [D] espgs-7.07.1-source.tar.bz2 http://mesh.dl.sourceforge.net/espgs/
+# [D] ghostscript-fonts-std-8.11.tar.gz ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/
+# [D] ghostscript-fonts-other-6.0.tar.gz ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/
srcdir="espgs-$ver"
-extra_ver="6.0"
+std_ver="8.11"
+other_ver="6.0"
confopt="$confopt --with-drivers=ALL --with-x"
post_install() {
- mkdir -p $prefix/share/ghostscript/${extra_ver} &&
- for font in gnu-gs-fonts-std gnu-gs-fonts-other; do
+ mkdir -p $prefix/share/ghostscript &&
+ for font in ghostscript-fonts-std-${std_ver}.tar.gz \
+ ghostscript-fonts-other-${other_ver}.tar.gz; do
tar --use-compress-program=gunzip -xf \
- $archdir/$font-${extra_ver}.tar.gz \
- -C $prefix/share/ghostscript/${extra_ver}
+ $archdir/$font -C $prefix/share/ghostscript/
done
- ln -sfv $prefix/share/ghostscript/${extra_ver}/fonts \
- $prefix/share/ghostscript/fonts
+ chown -R root.root $prefix/share/ghostscript/fonts
}