update-rc.d: update package LICENSE
[openembedded.git] / classes / gnomebase.bbclass
blobb50504f98380f51a2ee41a91e7894e23d3cdd611
1 def gnome_verdir(v):
2         import re
3         m = re.match("^([0-9]+)\.([0-9]+)", v)
4         return "%s.%s" % (m.group(1), m.group(2))
6 SECTION ?= "x11/gnome"
7 SRC_URI = "${GNOME_MIRROR}/${BPN}/${@gnome_verdir("${PV}")}/${BPN}-${PV}.tar.bz2;name=archive"
9 DEPENDS += "gnome-common"
11 FILES_${PN} += "${datadir}/application-registry  \
12         ${datadir}/mime-info \
13         ${datadir}/mime/packages \      
14         ${datadir}/mime/application \
15         ${datadir}/gnome-2.0 \
16         ${datadir}/polkit* \
19 FILES_${PN}-doc += "${datadir}/devhelp"
21 inherit autotools pkgconfig
23 AUTOTOOLS_STAGE_PKGCONFIG = "1"
25 do_install_append() {
26         rm -rf ${D}${localstatedir}/lib/scrollkeeper/*
27         rm -rf ${D}${localstatedir}/scrollkeeper/*
28         rm -f ${D}${datadir}/applications/*.cache