aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-extended/mime-construct/mime-construct_1.11.bb
blob: bf42a30510d60e6774c9485ab860b4c707630680 (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
SUMMARY = "Construct and optionally mail MIME messages"
DESCRIPTION = "Constructs and (by default) mails MIME messages. \
               It is entirely driven from the command line, it is \
               designed to be used by other programs, or people who act \
               like programs."
HOMEPAGE = "http://search.cpan.org/~rosch/mime-construct/mime-construct"
SECTION = "mail"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://debian/copyright;md5=5e2e5da619ac8ef8c84767ccc4656e96"

SRC_URI = "${CPAN_MIRROR}/authors/id/R/RO/ROSCH/mime-construct-${PV}.tar.gz \
           file://WaitStat.pm \
           file://Signal.pm \
          "
SRC_URI[md5sum] = "73834ea780fbea81b89dbd9b2fb54f58"
SRC_URI[sha256sum] = "4cd7bb61b51d41192d1498c1051aa6a4ccd75aeb09b71d2ec706a7084a4a9303"

inherit cpan

do_install () {
    oe_runmake install DESTDIR="${D}"
    install -d ${D}${libdir}/perl/vendor_perl/${@get_perl_version(d)}/Proc \
               ${D}${libdir}/perl/vendor_perl/${@get_perl_version(d)}/IPC
    install -m 644 ${WORKDIR}/WaitStat.pm \
                   ${D}${libdir}/perl/vendor_perl/${@get_perl_version(d)}/Proc
    install -m 644 ${WORKDIR}/Signal.pm \
                   ${D}${libdir}/perl/vendor_perl/${@get_perl_version(d)}/IPC
}
RDEPENDS_${PN} = "postfix perl"