1eb8dc403SDave CobbleySUMMARY = "Data::HexDump - Hexadecial Dumper"
2eb8dc403SDave CobbleyDESCRIPTION = "Dump in hexadecimal the content of a scalar. The result \
3eb8dc403SDave Cobbleyis returned in a string. Each line of the result consists of the offset \
4eb8dc403SDave Cobbleyin the source in the leftmost column of each line, followed by one or \
5eb8dc403SDave Cobbleymore columns of data from the source in hexadecimal. The rightmost column \
6eb8dc403SDave Cobbleyof each line shows the printable characters \
7eb8dc403SDave Cobbley(all others are shown as single dots).\
8eb8dc403SDave Cobbley"
9eb8dc403SDave Cobbley
10eb8dc403SDave CobbleyHOMEPAGE = "http://search.cpan.org/~ftassin/Data-HexDump-0.02/lib/Data/HexDump.pm"
11eb8dc403SDave CobbleySECTION = "libs"
12eb8dc403SDave Cobbley
13eb8dc403SDave CobbleyLICENSE = "Artistic-1.0"
14eb8dc403SDave CobbleyLIC_FILES_CHKSUM = "file://lib/Data/HexDump.pm;beginline=215;endline=217;md5=bf1cd9373f8d1f85fe091ee069a480e9"
15eb8dc403SDave Cobbley
16eb8dc403SDave CobbleyDEPENDS = "perl"
17eb8dc403SDave Cobbley
18eb8dc403SDave CobbleySRC_URI = "http://search.cpan.org/CPAN/authors/id/F/FT/FTASSIN/Data-HexDump-${PV}.tar.gz \
19eb8dc403SDave Cobbley           file://run-ptest \
20eb8dc403SDave Cobbley"
21eb8dc403SDave CobbleySRC_URI[md5sum] = "467b7183d1062ab4a502b50c34e7d67f"
22eb8dc403SDave CobbleySRC_URI[sha256sum] = "1a9d843e7f667c1c6f77c67af5d77e7462ff23b41937cb17454d03535cd9be70"
23eb8dc403SDave Cobbley
24eb8dc403SDave CobbleyS = "${WORKDIR}/Data-HexDump-${PV}"
25eb8dc403SDave Cobbley
26d688a01eSAndrew Geisslerinherit cpan ptest update-alternatives
27eb8dc403SDave Cobbley
28eb8dc403SDave Cobbleydo_install_ptest () {
29eb8dc403SDave Cobbley    install -d ${D}${PTEST_PATH}/t
30eb8dc403SDave Cobbley    install -m 0755 ${B}/t/* ${D}${PTEST_PATH}/t
31eb8dc403SDave Cobbley}
32eb8dc403SDave Cobbley
33eb8dc403SDave CobbleyBBCLASSEXTEND = "native"
34d688a01eSAndrew Geissler
35d688a01eSAndrew GeisslerALTERNATIVES_PRIORITY = "100"
36*213cb269SPatrick WilliamsALTERNATIVE:${PN} = "hexdump"
37d688a01eSAndrew GeisslerALTERNATIVE_LINK_NAME[hexdump] = "${bindir}/hexdump"
38d688a01eSAndrew Geissler
39