diff options
Diffstat (limited to 'recipes-security/perl/env-perl_1.04.bb')
-rw-r--r-- | recipes-security/perl/env-perl_1.04.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-security/perl/env-perl_1.04.bb b/recipes-security/perl/env-perl_1.04.bb new file mode 100644 index 0000000..4aeba4f --- /dev/null +++ b/recipes-security/perl/env-perl_1.04.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | DESCRIPTION = "This package contains the Env.pm \ | ||
2 | perl module that imports environment variables as scalars or arrays" | ||
3 | |||
4 | SECTION = "libs" | ||
5 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
6 | |||
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=76c1cbf18db56b3340d91cb947943bd3" | ||
8 | |||
9 | SRC_URI[md5sum] = "fdba5c0690e66972c96fee112cf5f25c" | ||
10 | SRC_URI[sha256sum] = "d94a3d412df246afdc31a2199cbd8ae915167a3f4684f7b7014ce1200251ebb0" | ||
11 | |||
12 | DEPENDS += "perl" | ||
13 | |||
14 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Env-${PV}.tar.gz" | ||
15 | |||
16 | S = "${WORKDIR}/Env-${PV}" | ||
17 | |||
18 | EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" | ||
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 | } | ||