aboutsummaryrefslogtreecommitdiff
path: root/meta-linaro/recipes-extra/odp/odp_v1.5.0.0.bb
blob: e777821eeae1286d254c4a3e0fbe631ee395805b (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
29
30
31
32
33
34
35
DESCRIPTION = "OpenDataPlane (ODP) provides a data plane application programming \
	environment that is easy to use, high performance, and portable between networking SoCs."
HOMEPAGE = "http://www.opendataplane.org"
SECTION = "console/network"

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=4ccfa994aa96974cfcd39a59faee20a2"

DEPENDS = "openssl cunit libpcap"

SRC_URI = "git://git.linaro.org/lng/odp.git;name=odp"

SRCREV_odp = "4c060d0c97b3521b30b7a3f5e19f3317a803ca77"
SRCREV_FORMAT = "odp"

S = "${WORKDIR}/git"

inherit autotools ptest

PACKAGECONFIG[perf] = "--enable-test-perf,,,"

do_configure_ptest() {
	oe_runconf --enable-test-vald --with-testdir=${PTEST_PATH}/test/
}

do_install_ptest() {
	oe_runmake DESTDIR=${D} install
	ln -s test/run-test ${D}/${PTEST_PATH}/run-ptest
}

# ODP is primarily shipped as static library plus some API test and samples/
FILES_${PN}-staticdev += "${datadir}/opendataplane/*.la"

RDEPENDS_${PN} = "bash libcrypto"
RDEPENDS_${PN}-ptest = "cunit"