diff options
Diffstat (limited to 'packages/shared-mime-info/shared-mime-info_0.20.bb')
-rw-r--r-- | packages/shared-mime-info/shared-mime-info_0.20.bb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/shared-mime-info/shared-mime-info_0.20.bb b/packages/shared-mime-info/shared-mime-info_0.20.bb new file mode 100644 index 0000000000..60993adcc2 --- /dev/null +++ b/packages/shared-mime-info/shared-mime-info_0.20.bb @@ -0,0 +1,18 @@ +SECTION = "base" +LICENSE = "GPL" +DEPENDS = "libxml2 intltool-native" +PR = "r0" + +SRC_URI = "http://freedesktop.org/~hadess/shared-mime-info-${PV}.tar.bz2" + +inherit autotools pkgconfig gettext + +EXTRA_OECONF = "--disable-update-mimedb" + +FILES_${PN} += "${datadir}/mime" +FILES_${PN}-dev += "${datadir}/pkgconfig/shared-mime-info.pc" + +pkg_postinst () { + echo "Updating MIME database... this may take a while." + ${bindir}/update-mime-database ${datadir}/mime +} |