From 4b46c1f6e891b1ddd5968536440b888661fade3e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 31 Aug 2005 10:45:47 +0000 Subject: Initial population git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- openembedded/classes/gnome.bbclass | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 openembedded/classes/gnome.bbclass (limited to 'openembedded/classes/gnome.bbclass') diff --git a/openembedded/classes/gnome.bbclass b/openembedded/classes/gnome.bbclass new file mode 100644 index 0000000000..8643989b73 --- /dev/null +++ b/openembedded/classes/gnome.bbclass @@ -0,0 +1,20 @@ +def gnome_verdir(v): + import re + m = re.match("([0-9]+)\.([0-9]+)\..*", v) + return "%s.%s" % (m.group(1), m.group(2)) + +SECTION ?= "x11/gnome" +SRC_URI = "${GNOME_MIRROR}/${PN}/${@gnome_verdir("${PV}")}/${PN}-${PV}.tar.bz2" + +DEPENDS += "gnome-common" + +FILES_${PN} += "${datadir}/application-registry ${datadir}/mime-info \ + ${datadir}/gnome-2.0" + +inherit autotools pkgconfig gconf + +EXTRA_AUTORECONF += "-I ${STAGING_DIR}/${HOST_SYS}/share/aclocal/gnome2-macros" + +gnome_stage_includes() { + autotools_stage_includes +} -- cgit v1.2.3