CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Imported core-cross ports from 2.5
[crossrootfs.git] / groff / Pkgfile
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
5 # Depends on:
6
7 name=groff
8 version=1.20.1
9 release=1
10 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
11
12 build() {
13 cd $name-$version
14 touch doc/gnu.eps
15
16 ./configure --build=$CHOST \
17 --host=$CTARGET \
18 --prefix=/usr \
19 --mandir=/usr/man \
20 --without-x
21 make TROFFBIN=troff GROFFBIN=groff GROFF_BIN_PATH=
22 make DESTDIR=$PKG install
23
24 rm -rf $PKG/usr/share/{info,doc}
25 ln -sf eqn $PKG/usr/bin/geqn
26 ln -sf tbl $PKG/usr/bin/gtbl
27 ln -sf soelim $PKG/usr/bin/zsoelim
28 }