]> code.ossystems Code Review - openembedded-core.git/blob
b77bbd1fd4
[openembedded-core.git] /
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+"
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://${WORKDIR}/README.md;md5=252fcce2026b765fee1ad74d2fb07a3b"
10
11 inherit allarch
12
13 SRC_URI = "https://github.com/arsv/perl-cross/releases/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-cross \
14            file://README.md \
15            file://0001-configure_tool.sh-do-not-quote-the-argument-to-comma.patch \
16            file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \
17            file://0001-configure_path.sh-do-not-hardcode-prefix-lib-as-libr.patch \
18            file://determinism.patch \
19            file://0001-cnf-configure_func_sel.sh-disable-thread_safe_nl_lan.patch \
20            "
21 UPSTREAM_CHECK_URI = "https://github.com/arsv/perl-cross/releases/"
22
23 SRC_URI[perl-cross.sha256sum] = "4010f41870d64e3957b4b8ce70ebba10a7c4a3e86c5551acb4099c3fcbb37ce5"
24
25 S = "${WORKDIR}/perl-cross-${PV}"
26
27 do_configure () {
28 }
29
30 do_compile () {
31 }
32
33 do_install_class-native() {
34     mkdir -p ${D}/${datadir}/perl-cross/
35     cp -rf ${S}/* ${D}/${datadir}/perl-cross/
36 }
37
38 BBCLASSEXTEND = "native"
39