diff options
Diffstat (limited to 'packages/xfce/libxfce4util.inc')
-rw-r--r-- | packages/xfce/libxfce4util.inc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/xfce/libxfce4util.inc b/packages/xfce/libxfce4util.inc new file mode 100644 index 0000000000..d5dd6d6565 --- /dev/null +++ b/packages/xfce/libxfce4util.inc @@ -0,0 +1,26 @@ +# libxfce4util OE build file +# Copyright (C) 2004, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +DESCRIPTION = "Basic utility library for Xfce4" +SECTION = "x11/libs" +LICENSE = "GPL" +DEPENDS = "glib-2.0 xfce4-dev-tools" + +inherit xfce pkgconfig + +MACROS="m4/X11.m4 m4/debug.m4 m4/depends.m4 m4/i18n.m4" + +do_stage() { + install -d ${STAGING_LIBDIR} ${STAGING_INCDIR}/libxfce4util + # 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 + + oe_libinstall -C libxfce4util -so libxfce4util ${STAGING_LIBDIR} + +} + +FILES_${PN}-dev += " ${datadir}/xfce4/m4" |