diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-04-23 19:43:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-28 09:52:23 +0100 |
commit | 3a08c401f298095840a2aee9079845f5ff434410 (patch) | |
tree | ef5b13c0563c104a6068f1b76635800991a0a8f5 /meta/recipes-devtools/perl/perl-5.12.3/perl-configure.sh | |
parent | 26858099bc104efc3b3d15d9298018285c551b9a (diff) | |
download | openembedded-core-contrib-3a08c401f298095840a2aee9079845f5ff434410.tar.gz |
perl: upgrade from 5.12.2 to 5.12.3
And changed the perl tarball URL to more stable cpan location.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Diffstat (limited to 'meta/recipes-devtools/perl/perl-5.12.3/perl-configure.sh')
-rwxr-xr-x | meta/recipes-devtools/perl/perl-5.12.3/perl-configure.sh | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/perl-5.12.3/perl-configure.sh b/meta/recipes-devtools/perl/perl-5.12.3/perl-configure.sh new file mode 100755 index 0000000000..e72ce49f99 --- /dev/null +++ b/meta/recipes-devtools/perl/perl-5.12.3/perl-configure.sh @@ -0,0 +1,43 @@ +#! /bin/sh + +# +# Generate the common perl configuration +# Needs to be run on a host that matches the bitsize of the target platform +# + +echo sh Configure -des \ + -Doptimize=-O2 \ + -Dmyhostname=localhost \ + -Dperladmin=root@localhost \ + -Dcc=gcc \ + -Dcf_by='Open Embedded' \ + -Dinstallprefix=@DESTDIR@ \ + -Dprefix=/usr \ + -Dvendorprefix=/usr \ + -Dsiteprefix=/usr \ + -Dotherlibdirs=/usr/lib/perl5/5.12.3 \ + -Duseshrplib \ + -Dusethreads \ + -Duseithreads \ + -Duselargefiles \ + -Ud_dosuid \ + -Dd_semctl_semun \ + -Ui_db \ + -Ui_ndbm \ + -Ui_gdbm \ + -Di_shadow \ + -Di_syslog \ + -Dman3ext=3pm \ + -Duseperlio \ + -Dinstallusrbinperl \ + -Ubincompat5005 \ + -Uversiononly \ + -Dpager='/usr/bin/less -isr' + +cp -f config.sh config.sh.COMMON + +TARGETOS=$(grep myarchname config.sh.COMMON | sed "s#.*'\(.*\)'.*#\1#") + +sed -r -i config.sh.COMMON \ + -e "s#(install.*=')(/usr)/local(.*')#\1@DESTDIR@\2\3#g" \ + -e 's#'$TARGETOS'#@ARCH@#g' |