1SUMMARY = "Helper application and MIME type associations for file types" 2HOMEPAGE = "https://pagure.io/mailcap" 3DESCRIPTION = "The mailcap file is used by the metamail program. Metamail reads the \ 4mailcap file to determine how it should display non-text or multimedia \ 5material. Basically, mailcap associates a particular type of file \ 6with a particular program that a mail agent or other program can call \ 7in order to handle the file. Mailcap should be installed to allow \ 8certain programs to be able to handle non-text files. \ 9\ 10Also included in this package is the mime.types file which contains a \ 11list of MIME types and their filename extension associations, used \ 12by several applications e.g. to determine MIME types for filenames." 13 14SECTION = "System Environment/Base" 15 16LICENSE = "PD & MIT" 17LIC_FILES_CHKSUM = "file://COPYING;md5=8dce08227d135cfda1f19d4c0c6689de" 18 19SRC_URI = "https://releases.pagure.org/${BPN}/${BP}.tar.xz" 20 21SRC_URI[md5sum] = "ee02da867389d290923cc138487176f9" 22SRC_URI[sha256sum] = "5eea2ef17b304977ba3ecb87afad4319fa0440f825e4f6fba6e8fa2ffeb88785" 23 24inherit update-alternatives 25 26do_install() { 27 oe_runmake install DESTDIR=${D} sysconfdir=${sysconfdir} mandir=${mandir} 28} 29 30ALTERNATIVE:${PN} = "mime.types" 31ALTERNATIVE_LINK_NAME[mime.types] = "${sysconfdir}/mime.types" 32