diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2022-04-18 15:26:10 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-04-18 10:13:16 -0700 |
commit | 55ba2545a0b04111bf191934d9bc30553467e271 (patch) | |
tree | 361779d8018ee915c3f76bb08969c13c6e476a3d /meta-oe/recipes-devtools | |
parent | c1b69601fd5898a8330c12388f57cfa527cb2341 (diff) | |
download | meta-openembedded-contrib-55ba2545a0b04111bf191934d9bc30553467e271.tar.gz |
libconfig-general-perl: move from meta-openstack
tgt rdepends on libconfig-general-perl.
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
-rw-r--r-- | meta-oe/recipes-devtools/perl/libconfig-general-perl_2.63.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/perl/libconfig-general-perl_2.63.bb b/meta-oe/recipes-devtools/perl/libconfig-general-perl_2.63.bb new file mode 100644 index 0000000000..b12e2e4ba5 --- /dev/null +++ b/meta-oe/recipes-devtools/perl/libconfig-general-perl_2.63.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "Config file parser module" +HOMEPAGE = "http://search.cpan.org/dist/Config-General/" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" +SECTION = "libs" +LIC_FILES_CHKSUM = "file://README;beginline=90;endline=90;md5=3ba4bbac1e79a08332688196f637d2b2" + +SRCNAME = "Config-General" + +SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TL/TLINDEN/${SRCNAME}-${PV}.tar.gz" + +SRC_URI[md5sum] = "e3ea2a6dc76931cf638b5227aceabf60" +SRC_URI[sha256sum] = "0a9bf977b8aabe76343e88095d2296c8a422410fd2a05a1901f2b20e2e1f6fad" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +COMPATIBLE_HOST:libc-musl = "null" + +EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" + +inherit cpan + +do_compile() { + export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" + cpan_do_compile +} |