summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-support/mime-support/media-types_14.0.0.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/mime-support/media-types_14.0.0.bb b/meta-oe/recipes-support/mime-support/media-types_14.0.0.bb
new file mode 100644
index 0000000000..137d508ebe
--- /dev/null
+++ b/meta-oe/recipes-support/mime-support/media-types_14.0.0.bb
@@ -0,0 +1,39 @@
1SECTION = "base"
2SUMMARY = "MIME files 'mime.types'"
3LICENSE = "PD"
4LIC_FILES_CHKSUM = "file://debian/copyright;md5=f3ace4a4ff8aa9e374be6080e41a822e"
5DEPENDS = "file"
6RDEPENDS:${PN} = "perl"
7RRECOMMENDS:${PN} = "file"
8
9SRC_URI = "${DEBIAN_MIRROR}/main/m/${BPN}/${BPN}_${PV}.tar.xz"
10SRC_URI[sha256sum] = "d5877ac8c1fa3661b3c9ace293ae154c844fad686786f085e954c014f7e73f4d"
11S = "${UNPACKDIR}/work"
12
13inherit update-alternatives
14
15FILES:${PN} += " ${datadir}/bug/media-types"
16
17docdir:append = "/${BPN}"
18
19do_install () {
20 install -d ${D}${sysconfdir}
21 install -d ${D}${datadir}/bug/media-types
22 install -d ${D}${docdir}
23 install -m 644 mime.types ${D}${sysconfdir}/
24 install -m 644 debian/bug-presubj ${D}${datadir}/bug/media-types/presubj
25 install -m 644 debian/changelog ${D}${docdir}/changelog
26 install -m 644 debian/copyright ${D}${docdir}/copyright
27 cd ${D}${docdir}; gzip -9v changelog
28}
29
30ALTERNATIVE_PRIORITY = "90"
31ALTERNATIVE:${PN} = "mime.types"
32ALTERNATIVE_LINK_NAME[mime.types] = "${sysconfdir}/mime.types"
33
34INHIBIT_DEFAULT_DEPS = "1"
35
36# Debian used to have mime-support package which was media-types and
37# mailcap recipes in one.
38PROVIDES += "mime-support"
39RDEPENDS:mime-support = "mailcap"