diff options
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/perl/liberror-perl_0.17022.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/liberror-perl_0.17022.bb b/meta/recipes-devtools/perl/liberror-perl_0.17022.bb new file mode 100644 index 0000000000..071f4b7860 --- /dev/null +++ b/meta/recipes-devtools/perl/liberror-perl_0.17022.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | SUMMARY = "Error - Error/exception handling in an OO-ish way" | ||
2 | DESCRIPTION = "The Error package provides two interfaces. Firstly \ | ||
3 | Error provides a procedural interface to exception handling. \ | ||
4 | Secondly Error is a base class for errors/exceptions that can \ | ||
5 | either be thrown, for subsequent catch, or can simply be recorded." | ||
6 | |||
7 | SECTION = "libs" | ||
8 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
9 | |||
10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8f3499d09ee74a050c0319391ff9d100" | ||
11 | |||
12 | DEPENDS += "perl" | ||
13 | |||
14 | SRC_URI = "http://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Error-${PV}.tar.gz" | ||
15 | SRC_URI[md5sum] = "f4d825f4be915ae90bf2e0d66734956b" | ||
16 | SRC_URI[sha256sum] = "cab74f04fb3af7088cefc2f6f96800ee52d34b82928bbb35ca51a0e5b5f9f7ef" | ||
17 | |||
18 | S = "${WORKDIR}/Error-${PV}" | ||
19 | |||
20 | inherit cpan | ||
21 | |||
22 | do_compile() { | ||
23 | export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" | ||
24 | cpan_do_compile | ||
25 | } | ||
26 | |||
27 | BBCLASSEXTEND = "native" | ||