Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 1 | SUMMARY = "MIME::Types - Definition of MIME types" |
| 2 | DESCRIPTION = "MIME types are used in MIME compliant lines, for instance \ |
| 3 | as part of e-mail and HTTP traffic, to indicate the type of content which \ |
| 4 | is transmitted. Sometimes real knowledge about a mime-type is need.\ |
| 5 | \n\ |
| 6 | This module maintains a set of MIME::Type objects, which each describe \ |
| 7 | one known mime type." |
| 8 | HOMEPAGE = "http://search.cpan.org/~markov/MIME-Types-${PV}" |
| 9 | SECTION = "libraries" |
| 10 | |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 11 | LICENSE = "Artistic-1.0 | GPL-1.0-or-later" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 12 | LIC_FILES_CHKSUM = "file://META.yml;beginline=11;endline=11;md5=963ce28228347875ace682de56eef8e8" |
| 13 | |
| 14 | SRC_URI = "http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/MIME-Types-${PV}.tar.gz \ |
| 15 | file://run-ptest \ |
| 16 | " |
| 17 | SRC_URI[md5sum] = "6f1441addab947137bac92c379a47ba3" |
| 18 | SRC_URI[sha256sum] = "e04ed7d42f1ff3150a303805f2689c28f80b92c511784d4641cb7f040d3e8ff6" |
| 19 | |
| 20 | S = "${WORKDIR}/MIME-Types-${PV}" |
| 21 | |
| 22 | inherit cpan ptest |
| 23 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 24 | RDEPENDS:${PN} = "\ |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 25 | perl-module-base \ |
| 26 | perl-module-file-basename \ |
| 27 | perl-module-file-spec \ |
| 28 | perl-module-overload \ |
| 29 | " |
| 30 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 31 | RDEPENDS:${PN}-ptest = "perl-module-lib perl-module-test-more" |
Patrick Williams | 0ca19cc | 2021-08-16 14:03:13 -0500 | [diff] [blame] | 32 | #RSUGGESTS:${PN}-ptest = "libmojo-base-perl" |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 33 | |
| 34 | do_install () { |
| 35 | cpan_do_install |
| 36 | install -d ${D}${bindir} |
| 37 | install -m 755 ${S}/bin/collect-types ${D}${bindir}/collect-types |
| 38 | } |
| 39 | |
| 40 | do_install_ptest () { |
| 41 | cp -r ${B}/t ${D}${PTEST_PATH} |
| 42 | } |