summaryrefslogtreecommitdiffstats
path: root/meta/packages/perl/perl-native_5.8.7.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/perl/perl-native_5.8.7.bb')
-rw-r--r--meta/packages/perl/perl-native_5.8.7.bb38
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 @@
1DESCRIPTION = "Perl is a popular scripting language."
2MAINTAINER="David Karlstrom <daka@thg.se>"
3HOMEPAGE = "http://www.perl.org/"
4LICENSE = "Artistic|GPL"
5PR = "r1"
6
7SECTION = "libs"
8inherit native
9
10DEPENDS = "virtual/db-native gdbm-native"
11
12SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \
13 file://Configure-multilib.patch;patch=1"
14S = "${WORKDIR}/perl-${PV}"
15
16#perl is not parallel_make safe
17PARALLEL_MAKE = ""
18
19do_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}