blob: 34588380aede3502717e8f8454aac00a19fda5a3 [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 Geisslerf103a7f2021-05-07 16:09:40 -050021SRC_URI[md5sum] = "ee02da867389d290923cc138487176f9"
22SRC_URI[sha256sum] = "5eea2ef17b304977ba3ecb87afad4319fa0440f825e4f6fba6e8fa2ffeb88785"
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
Patrick Williams213cb262021-08-07 19:21:33 -050030ALTERNATIVE:${PN} = "mime.types"
Andrew Geisslerd688a012020-09-18 13:36:00 -050031ALTERNATIVE_LINK_NAME[mime.types] = "${sysconfdir}/mime.types"