patch the build script to use system libraries and 
build without X
---
 build.sh |   19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

Index: luatex-0.70.1.20120523/build.sh
===================================================================
--- luatex-0.70.1.20120523.orig/build.sh	2012-05-23 09:00:14.672821618 +0900
+++ luatex-0.70.1.20120523/build.sh	2012-05-23 09:03:23.492423399 +0900
@@ -143,9 +143,11 @@
 if [ "$ONLY_MAKE" = "FALSE" ]
 then
 TL_MAKE=$MAKE ../source/configure  $CONFHOST $CONFBUILD  $WARNINGFLAGS\
+    --disable-native-texlive-build \
+    --with-banner-add='/Debian' \
     --enable-cxx-runtime-hack \
     --disable-all-pkgs \
-    --disable-shared    \
+    --enable-shared    \
     --disable-largefile \
     --disable-ptex \
     --disable-ipc \
@@ -154,14 +156,15 @@
     --enable-luatex  \
     --without-system-ptexenc \
     --without-system-kpathsea \
-    --without-system-poppler \
-    --without-system-xpdf \
-    --without-system-freetype \
-    --without-system-freetype2 \
-    --without-system-gd \
-    --without-system-libpng \
+    --with-system-poppler \
+    --with-system-xpdf \
+    --with-system-freetype \
+    --with-system-freetype2 \
+    --with-freetype2-include=/usr/include/freetype2 \
+    --with-system-gd \
+    --with-system-libpng \
     --without-system-teckit \
-    --without-system-zlib \
+    --with-system-zlib \
     --without-system-t1lib \
     --without-system-icu \
     --without-system-graphite \
