diff options
Diffstat (limited to 'recipes/gnome/gnome-common.inc')
-rw-r--r-- | recipes/gnome/gnome-common.inc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes/gnome/gnome-common.inc b/recipes/gnome/gnome-common.inc new file mode 100644 index 0000000000..9d1cdb00bf --- /dev/null +++ b/recipes/gnome/gnome-common.inc @@ -0,0 +1,28 @@ +LICENSE = "GPL" +SECTION = "x11/gnome" +DESCRIPTION = "Common macros for building GNOME applications" + +inherit gnome + +# The omf.make file failed if scrollkeeper doesn't happen to be +# installed + +SRC_URI += "file://omf.patch;patch=1" + +EXTRA_AUTORECONF = "" +DEPENDS = "" + +FILES_${PN} += "${datadir}/aclocal" +FILES_${PN}-dev = "" + +do_stage () { + rm -rf ${STAGE_TEMP} + mkdir -p ${STAGE_TEMP} + make DESTDIR="${STAGE_TEMP}" install + cp -pPR ${STAGE_TEMP}${bindir}/* ${STAGING_BINDIR_NATIVE} + install -d ${STAGING_DATADIR}/gnome-common + install -d ${STAGING_DATADIR}/aclocal + cp -pPR ${STAGE_TEMP}${datadir}/gnome-common/* ${STAGING_DATADIR}/gnome-common + cp -pPR ${STAGE_TEMP}${datadir}/aclocal/* ${STAGING_DATADIR}/aclocal + rm -rf ${STAGE_TEMP} +} |