summaryrefslogtreecommitdiffstats
path: root/meta-perl/recipes-perl/libdata/libdata-hexdump-perl_0.02.bb
blob: 44c651c4c23637cfde1250c8da5a1ce1b31ee98c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
SUMMARY = "Data::HexDump - Hexadecial Dumper"
DESCRIPTION = "Dump in hexadecimal the content of a scalar. The result \
is returned in a string. Each line of the result consists of the offset \
in the source in the leftmost column of each line, followed by one or \
more columns of data from the source in hexadecimal. The rightmost column \
of each line shows the printable characters \
(all others are shown as single dots).\
"

HOMEPAGE = "http://search.cpan.org/~ftassin/Data-HexDump-0.02/lib/Data/HexDump.pm"
SECTION = "libs"

LICENSE = "Artistic-1.0"
LIC_FILES_CHKSUM = "file://lib/Data/HexDump.pm;beginline=215;endline=217;md5=bf1cd9373f8d1f85fe091ee069a480e9"

DEPENDS = "perl"

SRC_URI = "http://search.cpan.org/CPAN/authors/id/F/FT/FTASSIN/Data-HexDump-${PV}.tar.gz \
           file://run-ptest \
"
SRC_URI[md5sum] = "467b7183d1062ab4a502b50c34e7d67f"
SRC_URI[sha256sum] = "1a9d843e7f667c1c6f77c67af5d77e7462ff23b41937cb17454d03535cd9be70"

S = "${WORKDIR}/Data-HexDump-${PV}"

inherit cpan ptest update-alternatives

do_install_ptest () {
    install -d ${D}${PTEST_PATH}/t
    install -m 0755 ${B}/t/* ${D}${PTEST_PATH}/t
}

BBCLASSEXTEND = "native"

ALTERNATIVES_PRIORITY = "100"
ALTERNATIVE_${PN} = "hexdump"
ALTERNATIVE_LINK_NAME[hexdump] = "${bindir}/hexdump"