CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e2fsprogs: updated to 1.42.5 and aligned with upstream
[crossrootfs.git] / groff / Pkgfile
... / ...
CommitLineData
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
5# Depends on:
6
7name=groff
8version=1.21
9release=1
10source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
11
12build() {
13 cd $name-$version
14 cat > config.cache << EOF
15ac_try_echo=yes
16EOF
17 pushd src/libs/gnulib
18 ./configure --build=$CHOST \
19 --host=$CTARGET \
20 --prefix=/usr \
21 --mandir=/usr/man \
22 --without-x \
23 --cache-file=config.cache
24 popd
25 ./configure --build=$CHOST \
26 --host=$CTARGET \
27 --prefix=/usr \
28 --mandir=/usr/man \
29 --without-x \
30 --cache-file=config.cache
31 make TROFFBIN=troff GROFFBIN=groff GROFF_BIN_PATH=
32 make DESTDIR=$PKG install
33
34 rm -rf $PKG/usr/share/{info,doc}
35 ln -sf eqn $PKG/usr/bin/geqn
36 ln -sf tbl $PKG/usr/bin/gtbl
37 ln -sf soelim $PKG/usr/bin/zsoelim
38}