summaryrefslogtreecommitdiffstats
path: root/meta-perl/recipes-perl/libtext/libtext-diff-perl_1.41.bb
blob: 2e89b759bfcdf9a5d6813f86f102c334678f1bb2 (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
SUMMARY = "Text::Diff - Perform diffs on files and record sets"
DESCRIPTION = "diff() provides a basic set of services akin to the GNU diff \
utility. It is not anywhere near as feature complete as GNU diff, but it is \
better integrated with Perl and available on all platforms. It is often \
faster than shelling out to a system's diff executable for small files, \
and generally slower on larger files."
SECTION = "libs"

HOMEPAGE = "http://search.cpan.org/~ovid/Text-Diff/"

LICENSE = "Artistic-1.0 | GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSE;md5=385c55653886acac3821999a3ccd17b3"

SRC_URI = "${CPAN_MIRROR}/authors/id/O/OV/OVID/Text-Diff-${PV}.tar.gz \
           file://run-ptest \
          "
SRC_URI[sha256sum] = "a67f50a48e313c1680cc662109ce5f913ea71454db355d0cf4db87ac89d2d2fa"

S = "${WORKDIR}/Text-Diff-${PV}"

inherit cpan ptest
RDEPENDS:${PN}-ptest += "perl-module-test perl-module-test-more"

RDEPENDS:${PN} = " libalgorithm-diff-perl \
                   perl-module-extutils-makemaker \
                   perl-module-exporter \
"

do_install_ptest () {
    cp -r ${B}/t ${D}${PTEST_PATH}
}

BBCLASSEXTEND = "native"