diff options
Diffstat (limited to 'meta/recipes-devtools/perl-cross/perlcross_1.6.2.bb')
-rw-r--r-- | meta/recipes-devtools/perl-cross/perlcross_1.6.2.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.6.2.bb b/meta/recipes-devtools/perl-cross/perlcross_1.6.2.bb new file mode 100644 index 0000000000..debf2717ce --- /dev/null +++ b/meta/recipes-devtools/perl-cross/perlcross_1.6.2.bb | |||
@@ -0,0 +1,38 @@ | |||
1 | SUMMARY = "Perl-cross build system" | ||
2 | HOMEPAGE = "https://github.com/arsv/perl-cross" | ||
3 | DESCRIPTION = "perl-cross provides configure script, top-level Makefile and some auxiliary files for perl, \ | ||
4 | with the primary emphasis on cross-compiling the source." | ||
5 | SECTION = "devel" | ||
6 | LICENSE = "Artistic-1.0 | GPL-1.0-or-later" | ||
7 | # README.md is taken from https://github.com/arsv/perl-cross/blob/master/README.md | ||
8 | # but is not provided inside the release tarballs | ||
9 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/README.md;md5=252fcce2026b765fee1ad74d2fb07a3b" | ||
10 | |||
11 | inherit allarch github-releases | ||
12 | |||
13 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-cross \ | ||
14 | file://README.md \ | ||
15 | file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \ | ||
16 | file://determinism.patch \ | ||
17 | file://0001-Makefile-check-the-file-if-patched-or-not.patch \ | ||
18 | " | ||
19 | GITHUB_BASE_URI = "https://github.com/arsv/perl-cross/releases/" | ||
20 | |||
21 | SRC_URI[perl-cross.sha256sum] = "131f7496152ee32067dbac2bc9b44b2f582fc778140e545701b3b2faee782f1d" | ||
22 | |||
23 | S = "${UNPACKDIR}/perl-cross-${PV}" | ||
24 | |||
25 | do_configure () { | ||
26 | } | ||
27 | |||
28 | do_compile () { | ||
29 | } | ||
30 | |||
31 | do_install:class-native() { | ||
32 | mkdir -p ${D}/${datadir}/perl-cross/ | ||
33 | cp -rf ${S}/* ${D}/${datadir}/perl-cross/ | ||
34 | rm -rf ${D}/${datadir}/perl-cross/patches/ | ||
35 | } | ||
36 | |||
37 | BBCLASSEXTEND = "native" | ||
38 | |||