summaryrefslogtreecommitdiff
path: root/packages/shared-mime-info/shared-mime-info_0.14.bb
blob: eecbc808f211084e3661ac57693ed4adaf70bf8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SECTION = "base"
PR = "r1"

DEPENDS = "libxml2 intltool-native"

SRC_URI = "http://freedesktop.org/Software/shared-mime-info/${PN}-${PV}.tar.gz"
LICENSE = "GPL"
inherit autotools pkgconfig gettext

FILES_${PN} += "${datadir}/mime"
#FILES_${PN}-doc += " ${datadir}/gtk-doc"

EXTRA_OECONF = "--disable-update-mimedb"

pkg_postinst () {
  echo "Updating MIME database... this may take a while."
  ${bindir}/update-mime-database ${datadir}/mime
}