diff options
Diffstat (limited to 'x11/x11_6.2.1.oe')
-rw-r--r-- | x11/x11_6.2.1.oe | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/x11/x11_6.2.1.oe b/x11/x11_6.2.1.oe index e69de29bb2..3825ae6001 100644 --- a/x11/x11_6.2.1.oe +++ b/x11/x11_6.2.1.oe @@ -0,0 +1,35 @@ +SECTION = "libs" +PRIORITY = "optional" +MAINTAINER = "Greg Gilbert <greg@treke.net>" +DEPENDS = "xproto xextensions xau xtrans xdmcp" +DESCRIPTION = "Base X libs." +FILES_${PN}_append = " ${datadir}/X11" +PROVIDES = "x11" + +SRC_URI = "${XLIBS_MIRROR}/libX11-${PV}.tar.bz2" +S = "${WORKDIR}/libX11-${PV}" + +inherit autotools pkgconfig + +do_compile() { + ( + unset CC LD CXX CCLD +# unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + oe_runmake -C src/util 'CFLAGS=' 'LDFLAGS=' 'CXXFLAGS=' 'CPPFLAGS=' makekeys + ) + oe_runmake +} + +do_stage() { + install -c -m 644 include/X11/XKBlib.h ${STAGING_INCDIR}/X11/XKBlib.h + install -c -m 644 include/X11/Xcms.h ${STAGING_INCDIR}/X11/Xcms.h + install -c -m 644 include/X11/Xlib.h ${STAGING_INCDIR}/X11/Xlib.h + install -c -m 644 include/X11/Xlibint.h ${STAGING_INCDIR}/X11/Xlibint.h + install -c -m 644 include/X11/Xlocale.h ${STAGING_INCDIR}/X11/Xlocale.h + install -c -m 644 include/X11/Xresource.h ${STAGING_INCDIR}/X11/Xresource.h + install -c -m 644 include/X11/Xutil.h ${STAGING_INCDIR}/X11/Xutil.h + install -c -m 644 include/X11/cursorfont.h ${STAGING_INCDIR}/X11/cursorfont.h + install -c -m 644 include/X11/region.h ${STAGING_INCDIR}/X11/region.h + + oe_libinstall -a -so -C src libX11 ${STAGING_LIBDIR} +} |