1 ################################################################################
5 ################################################################################
7 PYTHON_PYPCAP_VERSION
= 6f46e7bf29a648256ddc732a7d0ec83d3ffca390
8 PYTHON_PYPCAP_SITE
= $(call github
,dugsong
,pypcap
,$(PYTHON_PYPCAP_VERSION
))
9 PYTHON_PYPCAP_LICENSE
= BSD-3c
10 PYTHON_PYPCAP_LICENSE_FILES
= LICENSE
11 PYTHON_PYPCAP_SETUP_TYPE
= distutils
12 PYTHON_PYPCAP_DEPENDENCIES
= host-python-pyrex libpcap
14 define PYTHON_PYPCAP_CONFIGURE_CMDS
15 $(HOST_DIR
)/usr
/bin
/python2
$(HOST_DIR
)/usr
/bin
/pyrexc
$(@D
)/pcap.pyx
17 $(HOST_DIR
)/usr
/bin
/python setup.py \
18 config
--with-pcap
=$(STAGING_DIR
)/usr
)
21 $(eval
$(python-package
))