summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-21 06:24:03 +0100
committerLukc <lukc@upyum.com>2010-12-21 06:24:03 +0100
commit9ae6173dbe29ddc3cec706e0c4e342f04f364fa0 (patch)
tree37e51c2166b109337c55eb051736d4b54cb8ef09
parentf1ce011e59c902da9b20d7cbfdac0e5ac9bf5c5c (diff)
downloadbase-9ae6173dbe29ddc3cec706e0c4e342f04f364fa0.tar.gz
base-9ae6173dbe29ddc3cec706e0c4e342f04f364fa0.tar.bz2
base-9ae6173dbe29ddc3cec706e0c4e342f04f364fa0.tar.xz
base-9ae6173dbe29ddc3cec706e0c4e342f04f364fa0.zip
Recette de groff mise à jour.
-rw-r--r--groff/Pkgfile9
1 files changed, 8 insertions, 1 deletions
diff --git a/groff/Pkgfile b/groff/Pkgfile
index dbd3cb7..9df3cfa 100644
--- a/groff/Pkgfile
+++ b/groff/Pkgfile
@@ -13,10 +13,17 @@ build ()
cd $name-$version;
touch doc/gnu.eps;
./configure \
+ ${CHOST:+--build=${CHOST}} \
+ ${CTARGET:+--host=${CTARGET}} \
--prefix=$prefix \
--mandir=$mandir \
--without-x;
- make;
+ if [[ "$CHOST" = "$CTARGET" ]]; then
+ make;
+ else
+ # This will need troff and groff already available at build time on the host.
+ make TROFFBIN=troff GROFFBIN=groff GROFF_BIN_PATH=;
+ fi
make DESTDIR=$PKG install;
ln -sf eqn $PKG$prefix/bin/geqn;
ln -sf tbl $PKG$prefix/bin/gtbl;