perlcross_1.4.bb 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. inherit allarch
  11. SRC_URI = "https://github.com/arsv/perl-cross/releases/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-cross \
  12. file://README.md \
  13. file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \
  14. file://determinism.patch \
  15. file://0001-Makefile-check-the-file-if-patched-or-not.patch \
  16. file://0001-configure_func.sh-Add-_GNU_SOURCE-define-and-functio.patch \
  17. "
  18. UPSTREAM_CHECK_URI = "https://github.com/arsv/perl-cross/releases/"
  19. SRC_URI[perl-cross.sha256sum] = "be9d9f9f7148edff7a2f9695ba3cb7e3975eff6b25a9a81dd311725fd757aa91"
  20. S = "${WORKDIR}/perl-cross-${PV}"
  21. do_configure () {
  22. }
  23. do_compile () {
  24. }
  25. do_install:class-native() {
  26. mkdir -p ${D}/${datadir}/perl-cross/
  27. cp -rf ${S}/* ${D}/${datadir}/perl-cross/
  28. rm -rf ${D}/${datadir}/perl-cross/patches/
  29. }
  30. BBCLASSEXTEND = "native"