X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=packages%2Fx11%2Fghostscript%2Fghostscript;h=fec61b3a5806bee96c4fa19e0bc7980ce7c60eef;hb=19813891fbe232c43c28c601baabc931cfb4d34e;hp=0b0c8643549d058483b4eb3de8198fd13df2a108;hpb=6ae193981fcc05dcc495b4bde92cb8fd290ee4dd;p=hdw-linux%2Fhdw-linux.git diff --git a/packages/x11/ghostscript/ghostscript b/packages/x11/ghostscript/ghostscript index 0b0c864..fec61b3 100644 --- a/packages/x11/ghostscript/ghostscript +++ b/packages/x11/ghostscript/ghostscript @@ -4,20 +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 + chown -R root.root $prefix/share/ghostscript/fonts }