CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
gcc: updated to 6.3.0
[crossrootfs.git] / groff / Pkgfile
index b9b016376e5365b8d7ae26545330042f47fd8ffc..4118833bd7a64b2ca2294e71b9ee3a070ccfee43 100644 (file)
@@ -5,7 +5,7 @@
 # Depends on:
 
 name=groff
-version=1.22.2
+version=1.22.3
 release=2
 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz)
 
@@ -18,7 +18,6 @@ EOF
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
-              --mandir=/usr/man \
               --without-x \
               --cache-file=config.cache
   popd
@@ -35,17 +34,20 @@ EOF
   ./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