blob: 69e1788e946f100c0cb534a040d9a1ea5fae8d7d [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001SUMMARY = "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"
Andrew Geissler7f40b712020-05-15 14:09:53 -050017LIC_FILES_CHKSUM = "file://COPYING;md5=8dce08227d135cfda1f19d4c0c6689de"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050018
19SRC_URI = "https://releases.pagure.org/${BPN}/${BP}.tar.xz"
20
Andrew Geissler97771a32021-03-05 15:23:11 -060021SRC_URI[md5sum] = "3d1a14a80bb85564c323562670f1c01f"
22SRC_URI[sha256sum] = "e6f615ec2ffe705522075d960744534c443ece66acfb34fada38d567d8823639"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050023
Andrew Geisslerd688a012020-09-18 13:36:00 -050024inherit update-alternatives
25
Brad Bishopd7bf8c12018-02-25 22:55:05 -050026do_install() {
27 oe_runmake install DESTDIR=${D} sysconfdir=${sysconfdir} mandir=${mandir}
28}
Andrew Geisslerd688a012020-09-18 13:36:00 -050029
30ALTERNATIVE_${PN} = "mime.types"
31ALTERNATIVE_LINK_NAME[mime.types] = "${sysconfdir}/mime.types"