add shared-mime-info for hal

git-svn-id: https://svn.o-hand.com/repos/poky@162 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie 2005-11-03 15:30:50 +00:00
parent 5764026b4a
commit 270712829f
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
SECTION = "base"
PR = "r1"
DEPENDS = "libxml2 intltool-native"
SRC_URI = "http://freedesktop.org/~jrb/shared-mime-info-${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
}