[pisa-src] r2239 - trunk/openwrt/build-maemo.sh

  • From: René Hummen <rene.hummen@xxxxxxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 01 Apr 2010 13:55:11 +0200

Author: hummen
Date: Thu Apr  1 13:55:11 2010
New Revision: 2239

Log:
reflect removal of autogen.sh in the script and build pisa debs

Modified:
   trunk/openwrt/build-maemo.sh

Modified: trunk/openwrt/build-maemo.sh
==============================================================================
--- trunk/openwrt/build-maemo.sh        Thu Apr  1 13:54:09 2010        (r2238)
+++ trunk/openwrt/build-maemo.sh        Thu Apr  1 13:55:11 2010        (r2239)
@@ -51,16 +51,14 @@
     echo_to_stderr "    Done."
 
     echo_to_stderr "    Making HIPL tarball..."
-    ./autogen.sh
+    autoreconf --install
     ./configure
     make dist
     echo_to_stderr "    Done."
 
     echo_to_stderr "-> Building HIPL"
     echo_to_stderr "    Unapcking tarball..."
-    if [ -e $SCRATCHBOX_PATH/hipl-1.0.4 ]; then
-        rm -rf $SCRATCHBOX_PATH/hipl-1.0.4
-    fi
+    rm -rf $SCRATCHBOX_PATH/hipl*
     tar -xvzf $HIP/hipl-main.tar.gz -C $SCRATCHBOX_PATH
     mv $SCRATCHBOX_PATH/hipl-main $SCRATCHBOX_PATH/hipl-1.0.4
     echo_to_stderr "    Done."
@@ -95,13 +93,12 @@
 
     echo_to_stderr "-> Building PISA"
     echo_to_stderr "    Unpacking tarball..."
+    rm -rf $SCRATCHBOX_PATH/pisa*
     tar -xvzf $PISA/pisa-$PISA_VERSION.tar.gz -C $SCRATCHBOX_PATH
     echo_to_stderr "    Done."
 
     echo_to_stderr "    Compiling PISA for Maemo..."
-    #$SCRATCHBOX/login -d pisa-$PISA_VERSION dpkg-buildpackage -rfakeroot -b
-    $SCRATCHBOX/login -d pisa-$PISA_VERSION ./configure
-    $SCRATCHBOX/login -d pisa-$PISA_VERSION make
+    $SCRATCHBOX/login -d pisa-$PISA_VERSION dpkg-buildpackage -rfakeroot -b
     echo_to_stderr "    Done."
 else
     echo_to_stderr "ERROR: $PISA does not exist."

Other related posts:

  • » [pisa-src] r2239 - trunk/openwrt/build-maemo.sh - René Hummen