0b0c8643549d058483b4eb3de8198fd13df2a108
[hdw-linux/hdw-linux.git] / packages / x11 / ghostscript / ghostscript
1 # hdw-linux ghostscript extensions
2
3 # author: hackbard@hackdaworld.dyndns.org
4
5 # [V] 7.07.1
6 # [S] 3-4
7 # [D] espgs-7.07.1-source.tar.bz2 ftp://ftp.easysw.com/pub/ghostscript/
8 # [D] gnu-gs-fonts-std-6.0.tar.gz ftp://ftp.easysw.com/pub/ghostscript/
9 # [D] gnu-gs-fonts-other-6.0.tar.gz ftp://ftp.easysw.com/pub/ghostscript/
10
11 srcdir="espgs-$ver"
12 extra_ver="6.0"
13
14 confopt="$confopt --with-drivers=ALL --with-x"
15
16 post_install()  {
17         mkdir -p $prefix/share/ghostscript/${extra_ver} &&
18         for font in gnu-gs-fonts-std gnu-gs-fonts-other; do
19                 tar --use-compress-program=gunzip -xf \
20                 $archdir/$font-${extra_ver}.tar.gz \
21                 -C $prefix/share/ghostscript/${extra_ver}
22         done
23                 }