1 # Description: The GNU troff text-formatting system
2 # URL: http://www.gnu.org/software/groff/groff.html
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
10 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
14 cat > config.cache << EOF
18 ./configure --build=$CHOST \
23 --cache-file=config.cache
27 # we install only the Base14 and EURO pdf fonts
28 # and don't lookup for fonts in the filesystem
29 # https://savannah.gnu.org/bugs/?38029
30 sed -r -e '/^EURO\|/s/N/Y/' \
33 -i font/devpdf/Foundry.in
35 ./configure --build=$CHOST \
40 --cache-file=config.cache
42 make TROFFBIN=troff GROFFBIN=groff GROFF_BIN_PATH=
43 make DESTDIR=$PKG install
46 echo 'letter' > $PKG/etc/papersize
48 rm -rf $PKG/usr/share/{info,doc}
49 ln -sf eqn $PKG/usr/bin/geqn
50 ln -sf tbl $PKG/usr/bin/gtbl
51 ln -sf soelim $PKG/usr/bin/zsoelim