blob: 42c0b42d3f7daa3041c78f868e22b7fdf40034e1 [file] [log] [blame]
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +05301DESCRIPTION = "Libwhisker is a Perl module geared specificly for HTTP testing."
2
3SECTION = "libs"
Patrick Williamsde0582f2022-04-08 10:23:27 -05004LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +05305
6LIC_FILES_CHKSUM = "file://LICENSE;md5=254b8e29606fce6d1c1a4c9e32354573"
7
8SRC_URI = "http://sourceforge.net/projects/whisker/files/libwhisker/${PV}/libwhisker2-${PV}.tar.gz \
9 file://libwhisker2.patch"
10
11SRC_URI[md5sum] = "7cc1718dddde8f9a439d5622ae2f37eb"
12SRC_URI[sha256sum] = "f45a1cf2ad2637b29dd1b13d7221ea12e3923ea09d107ced446400f19070a42f"
13
14S = "${WORKDIR}/libwhisker2-2.5"
15
16inherit cpan-base
17
18PACKAGEGROUP ??=""
19PACKAGEGROUP[ssl] = ", , libnet-ssleay-perl, libnet-ssleay-perl"
20
21do_install() {
22 install -d 755 ${D}${PERLLIBDIRS}/vendor_perl/${PERLVERSION}
23 install -d 755 ${D}${datadir}/perl/${PERLVERSION}
24 oe_runmake install DESTDIR=${D} INSTALLDIR=${PERLLIBDIRS}/vendor_perl/${PERLVERSION} MANDIR=${datadir}/perl/${PERLVERSION}
25}
26
Patrick Williams213cb262021-08-07 19:21:33 -050027FILES:${PN} += "${datadir}/perl"
Brad Bishop19323692019-04-05 15:28:33 -040028
Richard Marian Thomaiyar14fddef2018-07-13 23:55:56 +053029BBCLASSEXTEND = "native"