Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 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://${WORKDIR}/README.md;md5=252fcce2026b765fee1ad74d2fb07a3b" |
| 10 | |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 11 | inherit allarch github-releases |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 12 | |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 13 | SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-cross \ |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 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 \ |
Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 18 | file://0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch \ |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 19 | " |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 20 | GITHUB_BASE_URI = "https://github.com/arsv/perl-cross/releases/" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 21 | |
Andrew Geissler | 5082cc7 | 2023-09-11 08:41:39 -0400 | [diff] [blame] | 22 | SRC_URI[perl-cross.sha256sum] = "d744a390939e2ebb9a12f6725b4d9c19255a141d90031eff90ea183fdfcbf211" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 23 | |
| 24 | S = "${WORKDIR}/perl-cross-${PV}" |
| 25 | |
| 26 | do_configure () { |
| 27 | } |
| 28 | |
| 29 | do_compile () { |
| 30 | } |
| 31 | |
| 32 | do_install:class-native() { |
| 33 | mkdir -p ${D}/${datadir}/perl-cross/ |
| 34 | cp -rf ${S}/* ${D}/${datadir}/perl-cross/ |
| 35 | rm -rf ${D}/${datadir}/perl-cross/patches/ |
| 36 | } |
| 37 | |
| 38 | BBCLASSEXTEND = "native" |
| 39 | |