diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-23 18:14:29 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-23 18:14:29 +0100 |
commit | eaf0b80d6b592df7684b1e37c456d58c8c5c41f2 (patch) | |
tree | ed51ba04df1081a0ca5edd22385866c1d4d89ddd /meta-oe | |
parent | 33ddd956439d5ec934a896844480ffb200abd2fe (diff) | |
download | meta-openembedded-eaf0b80d6b592df7684b1e37c456d58c8c5c41f2.tar.gz |
mime-support: import from meta-shr
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-support/mime-support/mime-support_3.44.bb | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/mime-support/mime-support_3.44.bb b/meta-oe/recipes-support/mime-support/mime-support_3.44.bb new file mode 100644 index 000000000..415022afe --- /dev/null +++ b/meta-oe/recipes-support/mime-support/mime-support_3.44.bb | |||
@@ -0,0 +1,58 @@ | |||
1 | SECTION = "base" | ||
2 | DESCRIPTION = "MIME files 'mime.types' & 'mailcap', and support programs" | ||
3 | LICENSE = "PD" | ||
4 | |||
5 | DEPENDS = "file" | ||
6 | RRECOMMENDS_${PN} = "file" | ||
7 | PR = "r1" | ||
8 | |||
9 | SRC_URI = "${DEBIAN_MIRROR}/main/m/mime-support/mime-support_${PV}-1.tar.gz" | ||
10 | S = "${WORKDIR}/${PN}" | ||
11 | |||
12 | FILES_${PN} += " ${libdir}/mime" | ||
13 | PACKAGE_ARCH = "all" | ||
14 | |||
15 | docdir_append = "/${PN}" | ||
16 | |||
17 | do_install () { | ||
18 | install -d ${D}${sysconfdir} | ||
19 | install -d ${D}${libdir}/mime/packages | ||
20 | install -d ${D}${docdir} | ||
21 | install -d ${D}${sbindir} | ||
22 | install -d ${D}${bindir} | ||
23 | install -d ${D}${mandir}/man1 | ||
24 | install -d ${D}${mandir}/man5 | ||
25 | install -d ${D}${mandir}/man8 | ||
26 | install -m 644 mime.types ${D}${sysconfdir}/ | ||
27 | install -m 644 mailcap ${D}${libdir}/mime/ | ||
28 | install -m 644 mailcap.order ${D}${sysconfdir}/ | ||
29 | install -m 644 mailcap.man ${D}${mandir}/man5/mailcap.5 | ||
30 | install -m 644 mailcap.order.man ${D}${mandir}/man5/mailcap.order.5 | ||
31 | # install -m 755 install-mime ${D}${sbindir}/ | ||
32 | # install -m 644 install-mime.man ${D}${mandir}/man8/install-mime.8 | ||
33 | install -m 755 update-mime ${D}${sbindir}/ | ||
34 | install -m 644 update-mime.man ${D}${mandir}/man8/update-mime.8 | ||
35 | install -m 755 run-mailcap ${D}${bindir}/ | ||
36 | install -m 644 run-mailcap.man ${D}${mandir}/man1/run-mailcap.1 | ||
37 | # install -m 644 rfcs/* ${D}${docdir}/ | ||
38 | install -m 644 debian/changelog ${D}${docdir}/changelog.Debian | ||
39 | install -m 644 debian/README ${D}${docdir}/copyright | ||
40 | install -m 755 debian-view ${D}${libdir}/mime/ | ||
41 | install -m 755 playaudio ${D}${libdir}/mime/ | ||
42 | install -m 755 playdsp ${D}${libdir}/mime/ | ||
43 | install -m 644 mailcap.entries ${D}${libdir}/mime/packages/mime-support | ||
44 | cd ${D}${mandir}; gzip -9fv */* | ||
45 | cd ${D}${docdir}; gzip -9v * | ||
46 | cd ${D}${docdir}; gunzip copyright.gz | ||
47 | cd ${D}${bindir}; ln -s run-mailcap see | ||
48 | cd ${D}${bindir}; ln -s run-mailcap edit | ||
49 | cd ${D}${bindir}; ln -s run-mailcap compose | ||
50 | cd ${D}${bindir}; ln -s run-mailcap print | ||
51 | cd ${D}${mandir}/man1; ln -s run-mailcap.1.gz see.1.gz | ||
52 | cd ${D}${mandir}/man1; ln -s run-mailcap.1.gz edit.1.gz | ||
53 | cd ${D}${mandir}/man1; ln -s run-mailcap.1.gz compose.1.gz | ||
54 | cd ${D}${mandir}/man1; ln -s run-mailcap.1.gz print.1.gz | ||
55 | } | ||
56 | |||
57 | SRC_URI[md5sum] = "048aa29c31f067382cd669ee20934b9e" | ||
58 | SRC_URI[sha256sum] = "4f65183200955540c097b82bfb18f5d21b636ca79f47cd018a4ea8b89cd2998c" | ||