summaryrefslogtreecommitdiffstats
path: root/meta/packages/xorg-lib/libx11-native_X11R7.1-1.0.1.bb
diff options
context:
space:
mode:
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.bb25
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 @@
1DESCRIPTION = "Base X libs."
2SECTION = "x11/libs"
3PRIORITY = "optional"
4LICENSE = "XFree86"
5
6FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/libx11"
7
8DEPENDS = "xproto-native xextproto-native libxau-native xtrans-native libxdmcp-native xcmiscproto-native xf86bigfontproto-native kbproto-native inputproto-native bigreqsproto-native util-macros-native"
9PROVIDES = "x11-native"
10
11SRC_URI = "${XORG_MIRROR}/X11R7.1/src/lib/libX11-${PV}.tar.bz2"
12S = "${WORKDIR}/libX11-${PV}"
13
14inherit native autotools pkgconfig
15
16EXTRA_OECONF="--enable-malloc0returnsnull"
17
18do_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}