X-Git-Url: http://gitweb/?a=blobdiff_plain;f=groff%2FPkgfile;h=b9b016376e5365b8d7ae26545330042f47fd8ffc;hb=da684b53834c25f43adf1c75c1192f491c3e32dd;hp=93d58a037b37f897ae97543fce65450958bb9138;hpb=b751b192b8a9f558df99b4050babc1b84d45a372;p=crossrootfs.git diff --git a/groff/Pkgfile b/groff/Pkgfile index 93d58a0..b9b0163 100644 --- a/groff/Pkgfile +++ b/groff/Pkgfile @@ -5,21 +5,45 @@ # Depends on: name=groff -version=1.20.1 -release=1 +version=1.22.2 +release=2 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz) build() { cd $name-$version - touch doc/gnu.eps + cat > config.cache << EOF +ac_try_echo=yes +EOF + pushd src/libs/gnulib + ./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 + --without-x \ + --cache-file=config.cache + make TROFFBIN=troff GROFFBIN=groff GROFF_BIN_PATH= make DESTDIR=$PKG install + + install -d $PKG/etc + echo 'letter' > $PKG/etc/papersize rm -rf $PKG/usr/share/{info,doc} ln -sf eqn $PKG/usr/bin/geqn