summaryrefslogtreecommitdiff
path: root/classes/gnome.oeclass
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-08-01 16:28:22 +0000
committerPhil Blundell <philb@gnu.org>2004-08-01 16:28:22 +0000
commit541bd3d43d895aa24150653e45b215d59a3a0966 (patch)
treef3a9f992353af42ec129f9e7d2672e460314ca17 /classes/gnome.oeclass
parentd50bfa26e2b48fe3dd315e888fd8c7a3ca132502 (diff)
add ${datadir}/application-registry to FILES_${PN}
BKrev: 410d1a264QgSAY5UypYdmqtlCW0MZQ
Diffstat (limited to 'classes/gnome.oeclass')
-rw-r--r--classes/gnome.oeclass21
1 files changed, 21 insertions, 0 deletions
diff --git a/classes/gnome.oeclass b/classes/gnome.oeclass
index e69de29bb2..b12fcdec96 100644
--- a/classes/gnome.oeclass
+++ b/classes/gnome.oeclass
@@ -0,0 +1,21 @@
+def gnome_verdir(v):
+ import re
+ m = re.match("([0-9]+)\.([0-9]+)\..*", v)
+ return "%s.%s" % (m.group(1), m.group(2))
+
+SECTION = "gnome"
+SRC_URI = "${GNOME_MIRROR}/${PN}/${@gnome_verdir("${PV}")}/${PN}-${PV}.tar.bz2"
+
+FILES_${PN} += "${datadir}/application-registry"
+
+inherit autotools pkgconfig
+
+STAGE_TEMP="${WORKDIR}/temp-staging"
+
+gnome_stage_includes() {
+ rm -rf ${STAGE_TEMP}
+ mkdir -p ${STAGE_TEMP}
+ make DESTDIR="${STAGE_TEMP}" install
+ cp -a ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}
+ rm -rf ${STAGE_TEMP}
+}