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

DEPENDS = "libxml2"

SRC_URI = "http://freedesktop.org/Software/shared-mime-info/${PN}-${PV}.tar.gz"

inherit autotools pkgconfig

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
}