xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/mailcap/mailcap_2.1.53.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Helper application and MIME type associations for file types"
2*4882a593SmuzhiyunHOMEPAGE = "https://pagure.io/mailcap"
3*4882a593SmuzhiyunDESCRIPTION = "The mailcap file is used by the metamail program. Metamail reads the \
4*4882a593Smuzhiyunmailcap file to determine how it should display non-text or multimedia \
5*4882a593Smuzhiyunmaterial. Basically, mailcap associates a particular type of file \
6*4882a593Smuzhiyunwith a particular program that a mail agent or other program can call \
7*4882a593Smuzhiyunin order to handle the file. Mailcap should be installed to allow \
8*4882a593Smuzhiyuncertain programs to be able to handle non-text files. \
9*4882a593Smuzhiyun\
10*4882a593SmuzhiyunAlso included in this package is the mime.types file which contains a \
11*4882a593Smuzhiyunlist of MIME types and their filename extension associations, used  \
12*4882a593Smuzhiyunby several applications e.g. to determine MIME types for filenames."
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunSECTION = "System Environment/Base"
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunLICENSE = "PD & MIT"
17*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=8dce08227d135cfda1f19d4c0c6689de"
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunSRC_URI = "https://releases.pagure.org/${BPN}/${BP}.tar.xz"
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunSRC_URI[md5sum] = "ee02da867389d290923cc138487176f9"
22*4882a593SmuzhiyunSRC_URI[sha256sum] = "5eea2ef17b304977ba3ecb87afad4319fa0440f825e4f6fba6e8fa2ffeb88785"
23*4882a593Smuzhiyun
24*4882a593Smuzhiyuninherit update-alternatives
25*4882a593Smuzhiyun
26*4882a593Smuzhiyundo_install() {
27*4882a593Smuzhiyun    oe_runmake install DESTDIR=${D} sysconfdir=${sysconfdir} mandir=${mandir}
28*4882a593Smuzhiyun}
29*4882a593Smuzhiyun
30*4882a593SmuzhiyunALTERNATIVE:${PN} = "mime.types"
31*4882a593SmuzhiyunALTERNATIVE_LINK_NAME[mime.types] = "${sysconfdir}/mime.types"
32