summaryrefslogtreecommitdiff
path: root/packages/xt/xt_0.1.5.bb
blob: 1d0d79458a04e1261facd5f637519fdbebfd667c (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
25
26
27
28
SECTION = "x11/libs"
PRIORITY = "optional"
MAINTAINER = "Phil Blundell <pb@handhelds.org>"
DEPENDS = "x11 libsm"
DESCRIPTION = "X Toolkit Intrinsics"
LICENSE = "X-MIT"
PR = "r1"
SRC_URI = "${XLIBS_MIRROR}/libXt-${PV}.tar.bz2 \
	   file://autofoo.patch;patch=1"
S = "${WORKDIR}/libXt-${PV}"

PARALLEL_MAKE = ""

inherit autotools pkgconfig 

#nasty hack as utils need to be native
do_compile() {
        (
                unset CC LD CXX CCLD
#               unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
                oe_runmake -C util 'CFLAGS=' 'LDFLAGS=' 'CXXFLAGS=' 'CPPFLAGS=' makestrs
        )
        oe_runmake
}

do_stage () {
	oe_runmake install DESTDIR="" bindir=${STAGING_BINDIR} includedir=${STAGING_INCDIR} libdir=${STAGING_LIBDIR} prefix=${STAGING_DIR}
}