X-Git-Url: https://hackdaworld.org/gitweb/?p=hdw-linux%2Fhdw-linux.git;a=blobdiff_plain;f=packages%2Fx11%2Fghostscript%2Fghostscript;h=fec61b3a5806bee96c4fa19e0bc7980ce7c60eef;hp=e676a3162da16f478976547d30b8022ac1765fff;hb=19813891fbe232c43c28c601baabc931cfb4d34e;hpb=1b91eff691e77e2e1308f7286717844a0bf8028b diff --git a/packages/x11/ghostscript/ghostscript b/packages/x11/ghostscript/ghostscript index e676a31..fec61b3 100644 --- a/packages/x11/ghostscript/ghostscript +++ b/packages/x11/ghostscript/ghostscript @@ -4,22 +4,22 @@ # [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 }