CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e2fsprogs: updated to 1.42.13 and updated mandir
[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 Team, devel at crux-arm dot nu
5 # Depends on:
6
7 name=groff
8 version=1.22.2
9 release=2
10 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
11
12 build() {
13 cd $name-$version
14 cat > config.cache << EOF
15 ac_try_echo=yes
16 EOF
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
26
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/' \
31 -e '/^[A-Z]+\|N/d' \
32 -e '/\(gs\)/d' \
33 -i font/devpdf/Foundry.in
34
35 ./configure --build=$CHOST \
36 --host=$CTARGET \
37 --prefix=/usr \
38 --mandir=/usr/man \
39 --without-x \
40 --cache-file=config.cache
41
42 make TROFFBIN=troff GROFFBIN=groff GROFF_BIN_PATH=
43 make DESTDIR=$PKG install
44
45 install -d $PKG/etc
46 echo 'letter' > $PKG/etc/papersize
47
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
52 }