diff options
Diffstat (limited to 'meta/recipes-devtools/perl-cross/files/README.md')
-rw-r--r-- | meta/recipes-devtools/perl-cross/files/README.md | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl-cross/files/README.md b/meta/recipes-devtools/perl-cross/files/README.md new file mode 100644 index 0000000000..93217245c8 --- /dev/null +++ b/meta/recipes-devtools/perl-cross/files/README.md | |||
@@ -0,0 +1,29 @@ | |||
1 | **perl-cross** provides configure script, top-level Makefile | ||
2 | and some auxiliary files for [perl](http://www.perl.org), | ||
3 | with the primary emphasis on cross-compiling the source. | ||
4 | |||
5 | # Get perl and perl-cross sources | ||
6 | curl -L -O http://www.cpan.org/src/5.0/perl-5.24.1.tar.gz | ||
7 | curl -L -O https://github.com/arsv/perl-cross/releases/download/1.1.3/perl-cross-1.1.3.tar.gz | ||
8 | |||
9 | # Unpack perl-cross over perl, overwriting Makefile | ||
10 | tar -zxf perl-5.24.1.tar.gz | ||
11 | cd perl-5.24.1 | ||
12 | tar --strip-components=1 -zxf ../perl-cross-1.1.3.tar.gz | ||
13 | |||
14 | # Proceed as usual with most autoconfed packages | ||
15 | ./configure --target=arm-linux-gnueabi --prefix=/usr -Duseshrplib | ||
16 | make -j4 | ||
17 | make DESTDIR=/path/to/staging/dir install | ||
18 | |||
19 | Unlike mainline Perl, this configure never runs any target executables, | ||
20 | relying solely on compile/link tests and pre-defined hints. | ||
21 | On the flip side, it is only meant to run on resonably sane modern unix systems. | ||
22 | |||
23 | Check [project pages](http://arsv.github.io/perl-cross/) for more info. | ||
24 | In particular, [configure usage](http://arsv.github.io/perl-cross/usage.html) | ||
25 | lists available configure options. | ||
26 | |||
27 | Perl-cross is a free software licensed under the same terms | ||
28 | as the original perl source. | ||
29 | See LICENSE, Copying and Artistic files. | ||