diff options
author | Richard Purdie <richard@openedhand.com> | 2007-05-27 21:04:11 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-05-27 21:04:11 +0000 |
commit | 80785a10721e523029c27f264fca5a892cf68e36 (patch) | |
tree | d33b51538db742a5d6f8df6b184b5531e8bf68ce /meta/packages/perl/perl-native_5.8.8.bb | |
parent | bd4fd028a799e804d803eac14ccb9e164ecc4938 (diff) | |
download | openembedded-core-contrib-80785a10721e523029c27f264fca5a892cf68e36.tar.gz |
perl: 5.8.7 -> 5.8.8 (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1785 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/perl/perl-native_5.8.8.bb')
-rw-r--r-- | meta/packages/perl/perl-native_5.8.8.bb | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/meta/packages/perl/perl-native_5.8.8.bb b/meta/packages/perl/perl-native_5.8.8.bb new file mode 100644 index 0000000000..c9d9b51771 --- /dev/null +++ b/meta/packages/perl/perl-native_5.8.8.bb @@ -0,0 +1,55 @@ +DESCRIPTION = "Perl is a popular scripting language." +HOMEPAGE = "http://www.perl.org/" +SECTION = "libs" +LICENSE = "Artistic|GPL" +DEPENDS = "virtual/db-native gdbm-native" +PR = "r7" + +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/perl-${PV}" + +SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \ + file://perl-5.8.8-gcc-4.2.patch;patch=1 \ + file://Configure-multilib.patch;patch=1 \ + file://perl-configpm-switch.patch;patch=1 \ + file://native-nopacklist.patch;patch=1 \ + file://native-no-gdbminc.patch;patch=1" + +S = "${WORKDIR}/perl-${PV}" + +inherit native + +do_configure () { + ./Configure \ + -Dcc="${CC}" \ + -Dcflags="${CFLAGS}" \ + -Dldflags="${LDFLAGS}" \ + -Dcf_by="Open Embedded" \ + -Dprefix=${prefix} \ + -Dvendorprefix=${prefix} \ + -Dsiteprefix=${prefix}/local \ + -Duseshrplib \ + -Dusethreads \ + -Duseithreads \ + -Duselargefiles \ + -Ud_dosuid \ + -Ui_db \ + -Ui_ndbm \ + -Ui_gdbm \ + -Di_shadow \ + -Di_syslog \ + -Duseperlio \ + -Dman3ext=3pm \ + -Uafs \ + -Ud_csh \ + -Uusesfio \ + -Uusenm -des + sed 's!${STAGING_DIR}/bin!${STAGING_BINDIR}!; + s!${STAGING_DIR}/lib!${STAGING_LIBDIR}!' < config.sh > config.sh.new + mv config.sh.new config.sh +} +do_stage_append() { + # We need a hostperl link for building perl + ln -sf ${STAGING_BINDIR_NATIVE}/perl${PV} ${STAGING_BINDIR_NATIVE}/hostperl +} + +PARALLEL_MAKE = "" |