diff options
Diffstat (limited to 'meta/packages/xorg-lib/libx11-native_X11R7.1-1.0.1.bb')
-rw-r--r-- | meta/packages/xorg-lib/libx11-native_X11R7.1-1.0.1.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/packages/xorg-lib/libx11-native_X11R7.1-1.0.1.bb b/meta/packages/xorg-lib/libx11-native_X11R7.1-1.0.1.bb new file mode 100644 index 0000000000..2b84b2c53c --- /dev/null +++ b/meta/packages/xorg-lib/libx11-native_X11R7.1-1.0.1.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | DESCRIPTION = "Base X libs." | ||
2 | SECTION = "x11/libs" | ||
3 | PRIORITY = "optional" | ||
4 | LICENSE = "XFree86" | ||
5 | |||
6 | FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libx11" | ||
7 | |||
8 | DEPENDS = "xproto-native xextproto-native libxau-native xtrans-native libxdmcp-native xcmiscproto-native xf86bigfontproto-native kbproto-native inputproto-native bigreqsproto-native util-macros-native" | ||
9 | PROVIDES = "x11-native" | ||
10 | |||
11 | SRC_URI = "${XORG_MIRROR}/X11R7.1/src/lib/libX11-${PV}.tar.bz2" | ||
12 | S = "${WORKDIR}/libX11-${PV}" | ||
13 | |||
14 | inherit native autotools pkgconfig | ||
15 | |||
16 | EXTRA_OECONF="--enable-malloc0returnsnull" | ||
17 | |||
18 | do_compile() { | ||
19 | ( | ||
20 | unset CC LD CXX CCLD | ||
21 | oe_runmake -C src/util 'CC=${BUILD_CC}' 'LD=${BUILD_LD}' 'CXX=${BUILD_CXX}' 'CCLD=${BUILD_CCLD}' 'CFLAGS=-D_GNU_SOURCE ${BUILD_CFLAGS}' 'LDFLAGS=${BUILD_LDFLAGS}' 'CXXFLAGS=${BUILD_CXXFLAGS}' 'CPPFLAGS=${BUILD_CPPFLAGS}' makekeys | ||
22 | ) | ||
23 | rm -f ${STAGING_INCDIR}/X11/Xlib.h | ||
24 | oe_runmake | ||
25 | } | ||