diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2026-01-31 22:56:35 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-02-01 14:08:49 -0800 |
| commit | 10f3a928ab37e0088cd16fe9fe58fb79d803fe7e (patch) | |
| tree | e1b4a14a4381b9b1577cc97c24c171749e37825b /meta-oe | |
| parent | 25eab2bf01764f6dc033f5a0273f92460dcef1dc (diff) | |
| download | meta-openembedded-10f3a928ab37e0088cd16fe9fe58fb79d803fe7e.tar.gz | |
mailcap: add recipe
This recipe is one of the successors of the mime-support, which
provided mailcap and mime.types files. This recipe contains
only the mailcap portion.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-support/mime-support/mailcap_3.75.bb | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/mime-support/mailcap_3.75.bb b/meta-oe/recipes-support/mime-support/mailcap_3.75.bb new file mode 100644 index 0000000000..6dc1fb3f8a --- /dev/null +++ b/meta-oe/recipes-support/mime-support/mailcap_3.75.bb | |||
| @@ -0,0 +1,54 @@ | |||
| 1 | SECTION = "base" | ||
| 2 | SUMMARY = "MIME files 'mailcap', and support programs" | ||
| 3 | LICENSE = "PD & Bellcore" | ||
| 4 | LICENSE:${PN} = "PD" | ||
| 5 | # mailcap.man's license is Bellcore | ||
| 6 | LICENSE:${PN}-doc = "PD & Bellcore" | ||
| 7 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=881b8546ad4d18ee8d55d42c93cda0b6" | ||
| 8 | |||
| 9 | DEPENDS = "file" | ||
| 10 | RDEPENDS:${PN} = "perl" | ||
| 11 | RRECOMMENDS:${PN} = "file" | ||
| 12 | |||
| 13 | SRC_URI = "${DEBIAN_MIRROR}/main/m/${BPN}/${BPN}_${PV}.tar.xz" | ||
| 14 | SRC_URI[sha256sum] = "44876c7241693ab32de57e799052b19a575ae0e27e85380537225708f562738f" | ||
| 15 | S = "${UNPACKDIR}/work" | ||
| 16 | |||
| 17 | FILES:${PN} += " ${libdir}/mime" | ||
| 18 | |||
| 19 | docdir:append = "/${BPN}" | ||
| 20 | |||
| 21 | do_install () { | ||
| 22 | install -d ${D}${sysconfdir} | ||
| 23 | install -d ${D}${libdir}/mime/packages | ||
| 24 | install -d ${D}${docdir} | ||
| 25 | install -d ${D}${sbindir} | ||
| 26 | install -d ${D}${bindir} | ||
| 27 | install -d ${D}${mandir}/man1 | ||
| 28 | install -d ${D}${mandir}/man5 | ||
| 29 | install -d ${D}${mandir}/man8 | ||
| 30 | install -m 644 mailcap ${D}${libdir}/mime | ||
| 31 | install -m 644 mailcap.order ${D}${sysconfdir}/ | ||
| 32 | install -m 644 mailcap.man ${D}${mandir}/man5/mailcap.5 | ||
| 33 | install -m 644 mailcap.order.man ${D}${mandir}/man5/mailcap.order.5 | ||
| 34 | install -m 755 update-mime ${D}${sbindir}/ | ||
| 35 | install -m 644 update-mime.man ${D}${mandir}/man8/update-mime.8 | ||
| 36 | install -m 755 run-mailcap ${D}${bindir}/ | ||
| 37 | install -m 644 run-mailcap.man ${D}${mandir}/man1/run-mailcap.1 | ||
| 38 | install -m 644 debian/changelog ${D}${docdir} | ||
| 39 | install -m 644 debian/copyright ${D}${docdir} | ||
| 40 | install -m 755 debian-view ${D}${libdir}/mime/ | ||
| 41 | install -m 644 mailcap.entries ${D}${libdir}/mime/packages/mailcap | ||
| 42 | cd ${D}${mandir}; gzip -9fv */* | ||
| 43 | cd ${D}${docdir}; gzip -9v changelog | ||
| 44 | cd ${D}${bindir}; ln -s run-mailcap see | ||
| 45 | cd ${D}${bindir}; ln -s run-mailcap edit | ||
| 46 | cd ${D}${bindir}; ln -s run-mailcap compose | ||
| 47 | cd ${D}${bindir}; ln -s run-mailcap print | ||
| 48 | cd ${D}${mandir}/man1; ln -s run-mailcap.1.gz see.1.gz | ||
| 49 | cd ${D}${mandir}/man1; ln -s run-mailcap.1.gz edit.1.gz | ||
| 50 | cd ${D}${mandir}/man1; ln -s run-mailcap.1.gz compose.1.gz | ||
| 51 | cd ${D}${mandir}/man1; ln -s run-mailcap.1.gz print.1.gz | ||
| 52 | } | ||
| 53 | |||
| 54 | INHIBIT_DEFAULT_DEPS = "1" | ||
