source: gs3-extensions/android-ndk/trunk/src/PERL-CROSS-STAGE1.sh@ 26846

Last change on this file since 26846 was 26846, checked in by davidb, 9 years ago

Tightening up of script

  • Property svn:executable set to *
File size: 455 bytes
Line 
1#!/bin/bash
2
3if [ "x$PERLCROSS_HOME" = "x" ] ; then
4 source ./perl-devel.sh
5fi
6
7export HOME=$PERL_CROSS_HOME
8
9if [ ! -d perl-5.16.0.host ] ; then
10 echo "Untarring Perl source"
11 tar xzf perl-5.16.0.tar.gz
12fi
13
14cd perl-5.16.0/ \
15 && ./Configure -des -Dprefix=$PERL_CROSS_HOME/hostperl-5.16.0 \
16 && make \
17 && make install \
18 && cd $PERL_CROSS_HOME
19
20/bin/mv perl-5.16.0 perl-5.16.0.host
21
22echo "****"
23echo "* Now run ./PERL-CROSS-STAGE2.sh"
24echo "****"
Note: See TracBrowser for help on using the repository browser.