diff options
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 @@ | |||
1 | DESCRIPTION = "Perl is a popular scripting language." | ||
2 | HOMEPAGE = "http://www.perl.org/" | ||
3 | SECTION = "libs" | ||
4 | LICENSE = "Artistic|GPL" | ||
5 | DEPENDS = "virtual/db-native gdbm-native" | ||
6 | PR = "r7" | ||
7 | |||
8 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/perl-${PV}" | ||
9 | |||
10 | SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \ | ||
11 | file://perl-5.8.8-gcc-4.2.patch;patch=1 \ | ||
12 | file://Configure-multilib.patch;patch=1 \ | ||
13 | file://perl-configpm-switch.patch;patch=1 \ | ||
14 | file://native-nopacklist.patch;patch=1 \ | ||
15 | file://native-no-gdbminc.patch;patch=1" | ||
16 | |||
17 | S = "${WORKDIR}/perl-${PV}" | ||
18 | |||
19 | inherit native | ||
20 | |||
21 | do_configure () { | ||
22 | ./Configure \ | ||
23 | -Dcc="${CC}" \ | ||
24 | -Dcflags="${CFLAGS}" \ | ||
25 | -Dldflags="${LDFLAGS}" \ | ||
26 | -Dcf_by="Open Embedded" \ | ||
27 | -Dprefix=${prefix} \ | ||
28 | -Dvendorprefix=${prefix} \ | ||
29 | -Dsiteprefix=${prefix}/local \ | ||
30 | -Duseshrplib \ | ||
31 | -Dusethreads \ | ||
32 | -Duseithreads \ | ||
33 | -Duselargefiles \ | ||
34 | -Ud_dosuid \ | ||
35 | -Ui_db \ | ||
36 | -Ui_ndbm \ | ||
37 | -Ui_gdbm \ | ||
38 | -Di_shadow \ | ||
39 | -Di_syslog \ | ||
40 | -Duseperlio \ | ||
41 | -Dman3ext=3pm \ | ||
42 | -Uafs \ | ||
43 | -Ud_csh \ | ||
44 | -Uusesfio \ | ||
45 | -Uusenm -des | ||
46 | sed 's!${STAGING_DIR}/bin!${STAGING_BINDIR}!; | ||
47 | s!${STAGING_DIR}/lib!${STAGING_LIBDIR}!' < config.sh > config.sh.new | ||
48 | mv config.sh.new config.sh | ||
49 | } | ||
50 | do_stage_append() { | ||
51 | # We need a hostperl link for building perl | ||
52 | ln -sf ${STAGING_BINDIR_NATIVE}/perl${PV} ${STAGING_BINDIR_NATIVE}/hostperl | ||
53 | } | ||
54 | |||
55 | PARALLEL_MAKE = "" | ||