diff options
| author | Armin Kuster <akuster808@gmail.com> | 2014-12-26 18:44:50 -0800 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2015-01-03 21:21:11 -0800 |
| commit | b80abbf51d2ba65c8563c09d8b958174b1c5ea88 (patch) | |
| tree | 113331d0b04ff9dadde29e43c61e2bd71d4e8d2a /recipes-perl/perl/lib-perl_0.63.bb | |
| parent | 424473d61eeb28c93dcdfc89ce0a5644367c7aa1 (diff) | |
| download | meta-security-b80abbf51d2ba65c8563c09d8b958174b1c5ea88.tar.gz | |
perl: reorg recipes to match meta-perl.
move security perl recipes to a more standardized
recipes-perl layout.
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-perl/perl/lib-perl_0.63.bb')
| -rw-r--r-- | recipes-perl/perl/lib-perl_0.63.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-perl/perl/lib-perl_0.63.bb b/recipes-perl/perl/lib-perl_0.63.bb new file mode 100644 index 0000000..7895864 --- /dev/null +++ b/recipes-perl/perl/lib-perl_0.63.bb | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | DESCRIPTION = "This is a small simple module which simplifies the \ | ||
| 2 | manipulation of @INC at compile time. It is typically used to add extra \ | ||
| 3 | directories to Perl's search path so that later 'use' or 'require' statements \ | ||
| 4 | will find modules which are not located in the default search path." | ||
| 5 | |||
| 6 | SECTION = "libs" | ||
| 7 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
| 8 | PR = "r0" | ||
| 9 | |||
| 10 | LIC_FILES_CHKSUM = "file://README;beginline=26;endline=30;md5=94b119f1a7b8d611efc89b5d562a1a50" | ||
| 11 | |||
| 12 | DEPENDS += "perl" | ||
| 13 | |||
| 14 | SRC_URI = "http://www.cpan.org/authors/id/S/SM/SMUELLER/lib-${PV}.tar.gz" | ||
| 15 | |||
| 16 | SRC_URI[md5sum] = "8607ac4e0d9d43585ec28312f52df67c" | ||
| 17 | SRC_URI[sha256sum] = "72f63db9220098e834d7a38231626bd0c9b802c1ec54a628e2df35f3818e5a00" | ||
| 18 | |||
| 19 | S = "${WORKDIR}/lib-${PV}" | ||
| 20 | |||
| 21 | EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" | ||
| 22 | |||
| 23 | inherit cpan | ||
| 24 | |||
| 25 | do_compile() { | ||
| 26 | export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" | ||
| 27 | cpan_do_compile | ||
| 28 | } | ||
