1*4882a593SmuzhiyunDESCRIPTION = "Concurrency Kit provides a plethora of concurrency primitives, \
2*4882a593Smuzhiyunsafe memory reclamation mechanisms and non-blocking data structures \
3*4882a593Smuzhiyundesigned to aid in the design and implementation of high performance \
4*4882a593Smuzhiyunconcurrent systems."
5*4882a593Smuzhiyun
6*4882a593SmuzhiyunLICENSE = "BSD-2-Clause & Apache-2.0"
7*4882a593SmuzhiyunHOMEPAGE = "http://concurrencykit.org"
8*4882a593SmuzhiyunSECTION = "base"
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunPV = "0.5.1+git${SRCPV}"
11*4882a593SmuzhiyunSRCREV = "f97d3da5c375ac2fc5a9173cdd36cb828915a2e1"
12*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE;md5=a0b24c1a8f9ad516a297d055b0294231"
13*4882a593SmuzhiyunSRC_URI = "git://github.com/concurrencykit/ck.git;branch=master;protocol=https \
14*4882a593Smuzhiyun           file://cross.patch \
15*4882a593Smuzhiyun"
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunS = "${WORKDIR}/git"
18*4882a593Smuzhiyun
19*4882a593SmuzhiyunCOMPATIBLE_HOST = "(arm|aarch64|i.86|x86_64|powerpc|powerpc64).*-linux*"
20*4882a593Smuzhiyun
21*4882a593Smuzhiyuninherit autotools-brokensep
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunPLAT:powerpc64 = "ppc64"
24*4882a593SmuzhiyunPLAT:powerpc64le = "ppc64"
25*4882a593SmuzhiyunPLAT ?= "${HOST_ARCH}"
26*4882a593Smuzhiyun
27*4882a593Smuzhiyundo_configure () {
28*4882a593Smuzhiyun    export PLATFORM=${PLAT}
29*4882a593Smuzhiyun    export COMPILER='gcc'
30*4882a593Smuzhiyun    ${S}/configure \
31*4882a593Smuzhiyun    --prefix=${prefix} \
32*4882a593Smuzhiyun    --includedir=${includedir} \
33*4882a593Smuzhiyun    --libdir=${libdir}
34*4882a593Smuzhiyun}
35*4882a593Smuzhiyun
36*4882a593Smuzhiyundo_compile () {
37*4882a593Smuzhiyun    oe_runmake
38*4882a593Smuzhiyun}
39*4882a593Smuzhiyun
40*4882a593Smuzhiyundo_install () {
41*4882a593Smuzhiyun    oe_runmake 'DESTDIR=${D}' install
42*4882a593Smuzhiyun}
43