summary refs log tree commit diff
path: root/pkgs/misc/ghostscript/builder.sh
blob: a1f84f3d80d197cc4153557cfad9bd42f4d25ba3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
source $stdenv/setup

preConfigure=preConfigure
preConfigure() {
    # "ijs" is impure: it contains symlinks to /usr/share/automake etc.!
    rm -rf ijs/ltmain.sh
}

installPhase() {
    make install install-so install-data install-doc install-man
}

postInstall=postInstall
postInstall() {
    for i in $fonts; do
        (cd $out/share/ghostscript && tar xvfz $i)
    done
}

genericBuild