CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
kbd: updated to 2.0.1
[crossrootfs.git] / groff / Pkgfile
index 7d8fd6dff84f0e7e6a80a91456d2597eb2bfd545..b9b016376e5365b8d7ae26545330042f47fd8ffc 100644 (file)
@@ -5,8 +5,8 @@
 # Depends on:
 
 name=groff
-version=1.21
-release=1
+version=1.22.2
+release=2
 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
 
 build() {
@@ -22,14 +22,28 @@ EOF
               --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 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