stage 4 package updates
[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 http://mesh.dl.sourceforge.net/espgs/
8 # [D] ghostscript-fonts-std-8.11.tar.gz ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/
9 # [D] ghostscript-fonts-other-6.0.tar.gz ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/
10
11 srcdir="espgs-$ver"
12 std_ver="8.11"
13 other_ver="6.0"
14
15 confopt="$confopt --with-drivers=ALL --with-x"
16
17 post_install()  {
18         mkdir -p $prefix/share/ghostscript &&
19         for font in ghostscript-fonts-std-${std_ver}.tar.gz \
20                         ghostscript-fonts-other-${other_ver}.tar.gz; do
21                 tar --use-compress-program=gunzip -xf \
22                 $archdir/$font -C $prefix/share/ghostscript/
23         done
24         chown -R root.root $prefix/share/ghostscript/fonts
25                 }