summaryrefslogtreecommitdiff
path: root/packages/xorg-lib/libx11_X11R7.1-1.0.1.bb
blob: 5b5abf4ceac27150386ecc9ac8c19e776e9a3ef5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require xorg-lib-common.inc

PR = "r1"

DESCRIPTION = "Base X libs."

DEPENDS += " bigreqsproto xproto xextproto xtrans libxau xcmiscproto \
	libxdmcp xf86bigfontproto kbproto inputproto"
PROVIDES = "virtual/libx11"
RPROVIDES = "virtual/libx11"

XORG_PN = "libX11"

FILES_${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${libdir}/X11/Xcms.txt"
FILES_${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale"

do_compile() {
	(
	 unset CC LD CXX CCLD CFLAGS CPPFLAGS LDFLAGS CXXFLAGS
	 cd src/util;${BUILD_CC} makekeys.c -o makekeys
	) || exit 1
		rm -f ${STAGING_INCDIR}/X11/Xlib.h
	oe_runmake
}