summaryrefslogtreecommitdiff
path: root/packages/xfce/xfce-mcs-manager_4.4.1.bb
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2008-06-13 19:50:50 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2008-10-17 14:08:01 -0300
commitf61b447ce825235a3c0bd83f8321fb6646834d5b (patch)
tree5b0c850dbe3bece78982e05058017dbc3acf394c /packages/xfce/xfce-mcs-manager_4.4.1.bb
parent89955003513b97a0cdbd00ccdc1f26502ae1b54c (diff)
xfce-mcs-manager: use a single recipe since we don't have multiple versions packaged
Diffstat (limited to 'packages/xfce/xfce-mcs-manager_4.4.1.bb')
-rw-r--r--packages/xfce/xfce-mcs-manager_4.4.1.bb22
1 files changed, 21 insertions, 1 deletions
diff --git a/packages/xfce/xfce-mcs-manager_4.4.1.bb b/packages/xfce/xfce-mcs-manager_4.4.1.bb
index 76e0452ad8..0b9fc43f70 100644
--- a/packages/xfce/xfce-mcs-manager_4.4.1.bb
+++ b/packages/xfce/xfce-mcs-manager_4.4.1.bb
@@ -2,4 +2,24 @@
# Copyright (C) 2004, Advanced Micro Devices, Inc. All Rights Reserved
# Released under the MIT license (see COPYING.MIT)
-require ${PN}.inc
+DESCRIPTION="XFCE4 Settings manager."
+DEPENDS="libxfcegui4 libxfce4mcs intltool-native"
+SECTION = "x11"
+PR = "r1"
+
+inherit xfce
+
+do_stage() {
+ install -d ${STAGING_INCDIR}/xfce4
+ install -d ${STAGING_INCDIR}/xfce4/xfce-mcs-manager
+ install -m 644 xfce-mcs-manager/manager-plugin.h ${STAGING_INCDIR}/xfce4/xfce-mcs-manager
+}
+
+# xfce-mcs-manager.pc uses ${libdir} to indicate where the mcs plugins live
+# the standard pkgconfig mangling was confusing us. Mangling is not required
+# for this particular .pc, so the following will suffice:
+
+do_stage_append () {
+ install -d ${PKG_CONFIG_DIR}
+ sed -e 's:^includedir=.*:includedir="/usr/include":;' ${S}/xfce-mcs-manager/xfce-mcs-manager.pc >${PKG_CONFIG_DIR}/xfce-mcs-manager.pc
+}