CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
binutils: update to 2.22. Removed host's texinfo dependency.
[crossrootfs.git] / groff / Pkgfile
index 148685a27309d36bcbc24a4de0b7d8568eafc8c4..7d8fd6dff84f0e7e6a80a91456d2597eb2bfd545 100644 (file)
@@ -1,23 +1,33 @@
 # 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
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
 # Depends on:
 
 name=groff
-version=1.20.1
+version=1.21
 release=1
 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
   ./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