X-Git-Url: http://gitweb/?a=blobdiff_plain;f=groff%2FPkgfile;h=b9b016376e5365b8d7ae26545330042f47fd8ffc;hb=969b81845d1db55ef76854b3dbb3b23da2014d37;hp=8e7f39b70a05f946fc4ac16b7bafc63e4ec3031f;hpb=83e7e2d09802b3a99d4eda97a03cad72a1b1039a;p=crossrootfs.git diff --git a/groff/Pkgfile b/groff/Pkgfile index 8e7f39b..b9b0163 100644 --- a/groff/Pkgfile +++ b/groff/Pkgfile @@ -1,25 +1,49 @@ # Description: The GNU troff text-formatting system # URL: http://www.gnu.org/software/groff/groff.html # Maintainer: CRUX System Team, core-ports at crux dot nu -# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # 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