blob: d587e2e5bed65c220d307ea9feb07acad68077a9 (
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
28
29
30
31
|
description="The GNU troff text-formatting system."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
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
}
|