X-Git-Url: http://gitweb/?a=blobdiff_plain;f=groff%2FPkgfile;h=4118833bd7a64b2ca2294e71b9ee3a070ccfee43;hb=c3125ac24f54c9e5b1c05cf93f65ad1ef914c74d;hp=7d8fd6dff84f0e7e6a80a91456d2597eb2bfd545;hpb=02834ec38bd2200c04356b84386154458303c7f4;p=crossrootfs.git diff --git a/groff/Pkgfile b/groff/Pkgfile index 7d8fd6d..4118833 100644 --- a/groff/Pkgfile +++ b/groff/Pkgfile @@ -5,8 +5,8 @@ # Depends on: name=groff -version=1.21 -release=1 +version=1.22.3 +release=2 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz) build() { @@ -18,20 +18,36 @@ EOF ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ - --mandir=/usr/man \ --without-x \ --cache-file=config.cache popd + + + # we install only the Base14 and EURO pdf fonts + # and don't lookup for fonts in the filesystem + # https://savannah.gnu.org/bugs/?38029 + sed -r -e '/^EURO\|/s/N/Y/' \ + -e '/^[A-Z]+\|N/d' \ + -e '/\(gs\)/d' \ + -i font/devpdf/Foundry.in + ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ - --mandir=/usr/man \ --without-x \ --cache-file=config.cache - make TROFFBIN=troff GROFFBIN=groff GROFF_BIN_PATH= + + make -j1 TROFFBIN=troff GROFFBIN=groff GROFF_BIN_PATH= make DESTDIR=$PKG install + sed -e 's|^\(papersize\).*|\1 /etc/papersize|' \ + -i $PKG/usr/share/groff/current/font/*/DESC + + install -d $PKG/etc + echo 'letter' > $PKG/etc/papersize + rm -rf $PKG/usr/share/{info,doc} + ln -sf eqn $PKG/usr/bin/geqn ln -sf tbl $PKG/usr/bin/gtbl ln -sf soelim $PKG/usr/bin/zsoelim