mirror of
https://git.yoctoproject.org/poky
synced 2026-09-29 07:36:20 +02:00
Rebase perl-configpm-switch.patch. Add a patch to perl-cross to unbreak perl's line numbers printing. (From OE-Core rev: f90922cdeef5a6a4b711c5be2156c05bdb20d5b5) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
40 lines
1.4 KiB
BlitzBasic
40 lines
1.4 KiB
BlitzBasic
SUMMARY = "Perl-cross build system"
|
|
HOMEPAGE = "https://github.com/arsv/perl-cross"
|
|
DESCRIPTION = "perl-cross provides configure script, top-level Makefile and some auxiliary files for perl, \
|
|
with the primary emphasis on cross-compiling the source."
|
|
SECTION = "devel"
|
|
LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
|
|
# README.md is taken from https://github.com/arsv/perl-cross/blob/master/README.md
|
|
# but is not provided inside the release tarballs
|
|
LIC_FILES_CHKSUM = "file://${WORKDIR}/README.md;md5=252fcce2026b765fee1ad74d2fb07a3b"
|
|
|
|
inherit allarch github-releases
|
|
|
|
SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-cross \
|
|
file://README.md \
|
|
file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \
|
|
file://determinism.patch \
|
|
file://0001-Makefile-check-the-file-if-patched-or-not.patch \
|
|
file://0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch \
|
|
"
|
|
GITHUB_BASE_URI = "https://github.com/arsv/perl-cross/releases/"
|
|
|
|
SRC_URI[perl-cross.sha256sum] = "d744a390939e2ebb9a12f6725b4d9c19255a141d90031eff90ea183fdfcbf211"
|
|
|
|
S = "${WORKDIR}/perl-cross-${PV}"
|
|
|
|
do_configure () {
|
|
}
|
|
|
|
do_compile () {
|
|
}
|
|
|
|
do_install:class-native() {
|
|
mkdir -p ${D}/${datadir}/perl-cross/
|
|
cp -rf ${S}/* ${D}/${datadir}/perl-cross/
|
|
rm -rf ${D}/${datadir}/perl-cross/patches/
|
|
}
|
|
|
|
BBCLASSEXTEND = "native"
|
|
|