1*4882a593SmuzhiyunSUMMARY = "Data::HexDump - Hexadecial Dumper"
2*4882a593SmuzhiyunDESCRIPTION = "Dump in hexadecimal the content of a scalar. The result \
3*4882a593Smuzhiyunis returned in a string. Each line of the result consists of the offset \
4*4882a593Smuzhiyunin the source in the leftmost column of each line, followed by one or \
5*4882a593Smuzhiyunmore columns of data from the source in hexadecimal. The rightmost column \
6*4882a593Smuzhiyunof each line shows the printable characters \
7*4882a593Smuzhiyun(all others are shown as single dots).\
8*4882a593Smuzhiyun"
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunHOMEPAGE = "http://search.cpan.org/~ftassin/Data-HexDump-0.02/lib/Data/HexDump.pm"
11*4882a593SmuzhiyunSECTION = "libs"
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunLICENSE = "Artistic-1.0"
14*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://lib/Data/HexDump.pm;beginline=215;endline=217;md5=bf1cd9373f8d1f85fe091ee069a480e9"
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunDEPENDS = "perl"
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunSRC_URI = "http://search.cpan.org/CPAN/authors/id/F/FT/FTASSIN/Data-HexDump-${PV}.tar.gz \
19*4882a593Smuzhiyun           file://run-ptest \
20*4882a593Smuzhiyun"
21*4882a593SmuzhiyunSRC_URI[md5sum] = "467b7183d1062ab4a502b50c34e7d67f"
22*4882a593SmuzhiyunSRC_URI[sha256sum] = "1a9d843e7f667c1c6f77c67af5d77e7462ff23b41937cb17454d03535cd9be70"
23*4882a593Smuzhiyun
24*4882a593SmuzhiyunS = "${WORKDIR}/Data-HexDump-${PV}"
25*4882a593Smuzhiyun
26*4882a593Smuzhiyuninherit cpan ptest update-alternatives
27*4882a593Smuzhiyun
28*4882a593Smuzhiyundo_install_ptest () {
29*4882a593Smuzhiyun    install -d ${D}${PTEST_PATH}/t
30*4882a593Smuzhiyun    install -m 0755 ${B}/t/* ${D}${PTEST_PATH}/t
31*4882a593Smuzhiyun}
32*4882a593Smuzhiyun
33*4882a593SmuzhiyunBBCLASSEXTEND = "native"
34*4882a593Smuzhiyun
35*4882a593SmuzhiyunALTERNATIVES_PRIORITY = "100"
36*4882a593SmuzhiyunALTERNATIVE:${PN} = "hexdump"
37*4882a593SmuzhiyunALTERNATIVE_LINK_NAME[hexdump] = "${bindir}/hexdump"
38*4882a593Smuzhiyun
39