blob: 5b387dfae7de4830818a5848aa1b3b1afe06da37 (
plain) (
blame)
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
PORTNAME= dpdk
DISTVERSION= 20.11.5
CATEGORIES= net
MASTER_SITES= http://fast.dpdk.org/rel/
PKGNAMESUFFIX= 20.11
MAINTAINER= bruce.richardson@intel.com
COMMENT= DPDK: Software libraries for packet processing
LICENSE= BSD3CLAUSE
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= only tested on 64-bit x86 hardware
BUILD_DEPENDS= objdump:devel/binutils
LIB_DEPENDS= libjansson.so:devel/jansson
USES= meson kmod pkgconfig:both shebangfix tar:xz python:3.5+
USE_LDCONFIG= yes
MESON_ARGS= -Dmachine=default -Ddefault_library=shared -Denable_kmods=true
SHEBANG_FILES= usertools/dpdk-pmdinfo.py \
usertools/dpdk-telemetry-client.py \
usertools/dpdk-telemetry.py \
usertools/dpdk-devbind.py \
usertools/dpdk-pmdinfo.py \
usertools/dpdk-hugepages.py \
examples/ipsec-secgw/test/pkttest.py \
examples/ipsec-secgw/test/pkttest.sh \
examples/ipsec-secgw/test/run_test.sh \
examples/ipsec-secgw/test/trs_ipv6opts.py \
examples/ipsec-secgw/test/tun_null_header_reconstruct.py \
examples/performance-thread/l3fwd-thread/test.sh \
examples/pipeline/examples/vxlan_table.py \
WRKSRC= ${WRKDIR}/${PORTNAME}-stable-${PORTVERSION}
OPTIONS_DEFINE= EXAMPLES DEBUG TOOLS TESTS
OPTIONS_DEFAULT= TOOLS
OPTIONS_SUB= yes
DEBUG_DESC= Debugging support (unoptimized build, impacts performance)
TOOLS_DESC= Install tool scripts
TESTS_DESC= Build the automated unit test binary
DEBUG_MESON_ON= --buildtype=debug
DEBUG_MESON_OFF= --buildtype=release
EXAMPLES_MESON_ON= -Dexamples=all
TESTS_MESON_TRUE= tests
TOOLS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyelftools>=0:devel/py-pyelftools@${PY_FLAVOR}
.include <bsd.port.mk>
|