| SUMMARY = "Helper application and MIME type associations for file types" |
| HOMEPAGE = "https://pagure.io/mailcap" |
| DESCRIPTION = "The mailcap file is used by the metamail program. Metamail reads the \ |
| mailcap file to determine how it should display non-text or multimedia \ |
| material. Basically, mailcap associates a particular type of file \ |
| with a particular program that a mail agent or other program can call \ |
| in order to handle the file. Mailcap should be installed to allow \ |
| certain programs to be able to handle non-text files. \ |
| \ |
| Also included in this package is the mime.types file which contains a \ |
| list of MIME types and their filename extension associations, used \ |
| by several applications e.g. to determine MIME types for filenames." |
| |
| SECTION = "System Environment/Base" |
| |
| LICENSE = "PD & MIT" |
| LIC_FILES_CHKSUM = "file://COPYING;md5=8dce08227d135cfda1f19d4c0c6689de" |
| |
| SRC_URI = "https://releases.pagure.org/${BPN}/${BP}.tar.xz" |
| |
| SRC_URI[md5sum] = "d5701a1a541383c0eda328f4a6518751" |
| SRC_URI[sha256sum] = "f7381516bc1a937348efd1d0e14618e0a2afc5d59fe821dd248632d5601b59b5" |
| |
| inherit update-alternatives |
| |
| do_install() { |
| oe_runmake install DESTDIR=${D} sysconfdir=${sysconfdir} mandir=${mandir} |
| } |
| |
| ALTERNATIVE_${PN} = "mime.types" |
| ALTERNATIVE_LINK_NAME[mime.types] = "${sysconfdir}/mime.types" |