summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl-cross/files/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/perl-cross/files/README.md')
-rw-r--r--meta/recipes-devtools/perl-cross/files/README.md29
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
2and some auxiliary files for [perl](http://www.perl.org),
3with 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
19Unlike mainline Perl, this configure never runs any target executables,
20relying solely on compile/link tests and pre-defined hints.
21On the flip side, it is only meant to run on resonably sane modern unix systems.
22
23Check [project pages](http://arsv.github.io/perl-cross/) for more info.
24In particular, [configure usage](http://arsv.github.io/perl-cross/usage.html)
25lists available configure options.
26
27Perl-cross is a free software licensed under the same terms
28as the original perl source.
29See LICENSE, Copying and Artistic files.