summaryrefslogtreecommitdiffstats
path: root/groff/Pkgfile.old
blob: dabc427fa04944b8a2bf19c1c6ee85b1987bec00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Description: The GNU troff text-formatting system
# URL:         http://www.gnu.org/software/groff/groff.html
# Maintainer:  CRUX System Team, core-ports at crux dot nu

name=groff
version=1.20.1
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)

build() {
    cd $name-$version

    touch doc/gnu.eps

    ./configure --prefix=/usr \
                --mandir=/usr/man \
                --without-x

    make
    make DESTDIR=$PKG install

    rm -rf $PKG/usr/share/{info,doc}

    ln -sf eqn $PKG/usr/bin/geqn
    ln -sf tbl $PKG/usr/bin/gtbl
    ln -sf soelim $PKG/usr/bin/zsoelim
}