summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/xfce/libxfce4util.inc11
1 files changed, 4 insertions, 7 deletions
diff --git a/packages/xfce/libxfce4util.inc b/packages/xfce/libxfce4util.inc
index b30c8f9445..d5dd6d6565 100644
--- a/packages/xfce/libxfce4util.inc
+++ b/packages/xfce/libxfce4util.inc
@@ -5,20 +5,17 @@
DESCRIPTION = "Basic utility library for Xfce4"
SECTION = "x11/libs"
LICENSE = "GPL"
-DEPENDS = "glib-2.0"
+DEPENDS = "glib-2.0 xfce4-dev-tools"
inherit xfce pkgconfig
-XFCE_HEADERS="debug.h utf8.h xfce-generics.h xfce-resource.h \
- i18n.h util.h xfce-kiosk.h libxfce4util-config.h \
- xfce-desktopentry.h xfce-miscutils.h libxfce4util.h \
- xfce-fileutils.h xfce-rc.h"
-
MACROS="m4/X11.m4 m4/debug.m4 m4/depends.m4 m4/i18n.m4"
do_stage() {
install -d ${STAGING_LIBDIR} ${STAGING_INCDIR}/libxfce4util
- for file in ${XFCE_HEADERS}; do
+ # The line below expands to the list of headers that native makefile
+ # would install. Complain and/or fix if it's not portable enough
+ for file in $(eval $(make -n -C libxfce4util install|grep "^list='[^.]\\+.h"|cut -d\; -f1); echo $list); do
install -m 644 libxfce4util/$file ${STAGING_INCDIR}/libxfce4util
done