diff options
author | Kang Kai <kai.kang@windriver.com> | 2014-08-14 17:13:31 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-08-21 21:35:05 +0200 |
commit | d26c204d09c3f69b9b4702244e908bddb2d24e41 (patch) | |
tree | be553876c0d55d0a2f6faa11d9e83809c955f19d /meta-perl | |
parent | e4c1f724441af1c518d6bfe54457e09c1504dd21 (diff) | |
download | meta-openembedded-d26c204d09c3f69b9b4702244e908bddb2d24e41.tar.gz |
libdigest-hmac-perl: add recipe
Add recipe for libdigest-hmac-perl and enable to create -ptest sub-package.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-perl')
-rw-r--r-- | meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.03.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.03.bb b/meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.03.bb new file mode 100644 index 000000000..affc9f668 --- /dev/null +++ b/meta-perl/recipes-perl/libdigest/libdigest-hmac-perl_1.03.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | SUMMARY = "Keyed-Hashing for Message Authentication" | ||
2 | DESCRIPTION = "Keyed-Hashing for Message Authentication" | ||
3 | HOMEPAGE = "http://search.cpan.org/~gaas/Digest-HMAC-1.03/" | ||
4 | SECTION = "libs" | ||
5 | |||
6 | LICENSE = "Artistic-1.0|GPLv1+" | ||
7 | LIC_FILES_CHKSUM = "file://README;beginline=13;endline=17;md5=da980cdc026faa065e5d5004115334e6" | ||
8 | |||
9 | RDEPENDS_${PN} = "libdigest-sha1-perl perl-module-extutils-makemaker perl-module-digest-md5" | ||
10 | |||
11 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Digest-HMAC-${PV}.tar.gz \ | ||
12 | file://run-ptest \ | ||
13 | " | ||
14 | SRC_URI[md5sum] = "e6a5d6f552da16eacb5157ea4369ff9d" | ||
15 | SRC_URI[sha256sum] = "3bc72c6d3ff144d73aefb90e9a78d33612d58cf1cd1631ecfb8985ba96da4a59" | ||
16 | |||
17 | S = "${WORKDIR}/Digest-HMAC-${PV}" | ||
18 | |||
19 | inherit cpan ptest | ||
20 | |||
21 | do_install_ptest () { | ||
22 | cp -r ${B}/t ${D}${PTEST_PATH} | ||
23 | } | ||
24 | |||
25 | PACKAGE_ARCH = "all" | ||
26 | BBCLASSEXTEND = "native" | ||