description="The GNU troff text-formatting system." packager="CRUX System Team " maintainer="Lukc " url="http://www.gnu.org/software/groff/groff.html" depends=() 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 \ ${CBUILD:+--build=${CBUILD}} \ ${CHOST:+--host=${CHOST}} \ --prefix=$prefix \ --mandir=$mandir \ --without-x; if [[ "$CBUILD" = "$CHOST" ]]; then make; else # This will need troff and groff already available at build time on the host. make TROFFBIN=troff GROFFBIN=groff GROFF_BIN_PATH=; fi make DESTDIR=$PKG install; ln -sf eqn $PKG$prefix/bin/geqn; ln -sf tbl $PKG$prefix/bin/gtbl; ln -sf soelim $PKG$prefix/bin/zsoelim }