summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/mime-support
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-03-23 18:14:29 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2011-03-23 18:14:29 +0100
commiteaf0b80d6b592df7684b1e37c456d58c8c5c41f2 (patch)
treeed51ba04df1081a0ca5edd22385866c1d4d89ddd /meta-oe/recipes-support/mime-support
parent33ddd956439d5ec934a896844480ffb200abd2fe (diff)
downloadmeta-openembedded-eaf0b80d6b592df7684b1e37c456d58c8c5c41f2.tar.gz
mime-support: import from meta-shr
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-support/mime-support')
-rw-r--r--meta-oe/recipes-support/mime-support/mime-support_3.44.bb58
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 @@
1SECTION = "base"
2DESCRIPTION = "MIME files 'mime.types' & 'mailcap', and support programs"
3LICENSE = "PD"
4
5DEPENDS = "file"
6RRECOMMENDS_${PN} = "file"
7PR = "r1"
8
9SRC_URI = "${DEBIAN_MIRROR}/main/m/mime-support/mime-support_${PV}-1.tar.gz"
10S = "${WORKDIR}/${PN}"
11
12FILES_${PN} += " ${libdir}/mime"
13PACKAGE_ARCH = "all"
14
15docdir_append = "/${PN}"
16
17do_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
57SRC_URI[md5sum] = "048aa29c31f067382cd669ee20934b9e"
58SRC_URI[sha256sum] = "4f65183200955540c097b82bfb18f5d21b636ca79f47cd018a4ea8b89cd2998c"