blob: 8385b63543dc568edc4870f01b022d798adfcfd2 [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
Patrick Williamse760df82023-05-26 11:10:49 -050021SRC_URI[sha256sum] = "9a4032202fc0d2b0858f41b167389a9cfe52ac24ec282e6479b90765319de113"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050022
Andrew Geisslerd688a012020-09-18 13:36:00 -050023inherit update-alternatives
24
Brad Bishopd7bf8c12018-02-25 22:55:05 -050025do_install() {
26 oe_runmake install DESTDIR=${D} sysconfdir=${sysconfdir} mandir=${mandir}
27}
Andrew Geisslerd688a012020-09-18 13:36:00 -050028
Patrick Williams213cb262021-08-07 19:21:33 -050029ALTERNATIVE:${PN} = "mime.types"
Andrew Geisslerd688a012020-09-18 13:36:00 -050030ALTERNATIVE_LINK_NAME[mime.types] = "${sysconfdir}/mime.types"