diff options
Diffstat (limited to 'meta/packages/perl/perl-native_5.8.7.bb')
-rw-r--r-- | meta/packages/perl/perl-native_5.8.7.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/packages/perl/perl-native_5.8.7.bb b/meta/packages/perl/perl-native_5.8.7.bb new file mode 100644 index 0000000000..170a0ebf8d --- /dev/null +++ b/meta/packages/perl/perl-native_5.8.7.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | DESCRIPTION = "Perl is a popular scripting language." | ||
2 | MAINTAINER="David Karlstrom <daka@thg.se>" | ||
3 | HOMEPAGE = "http://www.perl.org/" | ||
4 | LICENSE = "Artistic|GPL" | ||
5 | PR = "r1" | ||
6 | |||
7 | SECTION = "libs" | ||
8 | inherit native | ||
9 | |||
10 | DEPENDS = "virtual/db-native gdbm-native" | ||
11 | |||
12 | SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \ | ||
13 | file://Configure-multilib.patch;patch=1" | ||
14 | S = "${WORKDIR}/perl-${PV}" | ||
15 | |||
16 | #perl is not parallel_make safe | ||
17 | PARALLEL_MAKE = "" | ||
18 | |||
19 | do_configure () { | ||
20 | ./Configure \ | ||
21 | -Dcc="${BUILD_CC}" \ | ||
22 | -Dcflags="${BUILD_CFLAGS}" \ | ||
23 | -Dldflags="${BUILD_LDFLAGS} -Wl,-rpath,${STAGING_LIBDIR}" \ | ||
24 | -Dusethreads \ | ||
25 | -Duselargefiles \ | ||
26 | -Dprefix=${prefix} \ | ||
27 | -Dvendorprefix=${prefix} \ | ||
28 | -Dsiteprefix=${prefix}/local \ | ||
29 | -Dman1ext=1 \ | ||
30 | -Dman3ext=3perl \ | ||
31 | -Uafs \ | ||
32 | -Ud_csh \ | ||
33 | -Uusesfio \ | ||
34 | -Uusenm -des | ||
35 | sed 's!${STAGING_DIR}/bin!${STAGING_BINDIR}!; | ||
36 | s!${STAGING_DIR}/lib!${STAGING_LIBDIR}!' < config.sh > config.sh.new | ||
37 | mv config.sh.new config.sh | ||
38 | } | ||