This commit is contained in:
TriForceX
2019-09-25 20:51:37 -03:00
commit 6203ff3e7c
11215 changed files with 428258 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
config BR2_PACKAGE_PYTHON_PYPCAP
bool "python-pypcap"
depends on BR2_PACKAGE_PYTHON
select BR2_PACKAGE_LIBPCAP
help
The pypcap module is an object-oriented wrapper of the C
libpcap library.
https://code.google.com/p/pypcap/

View File

@@ -0,0 +1,2 @@
# locally computed
sha256 5716d97b39d40b79daf7b0c6a8c8c514f5f1de8f20561c8621ee62a90b93fb03 python-pypcap-6f46e7bf29a648256ddc732a7d0ec83d3ffca390.tar.gz

View File

@@ -0,0 +1,21 @@
################################################################################
#
# python-pypcap
#
################################################################################
PYTHON_PYPCAP_VERSION = 6f46e7bf29a648256ddc732a7d0ec83d3ffca390
PYTHON_PYPCAP_SITE = $(call github,dugsong,pypcap,$(PYTHON_PYPCAP_VERSION))
PYTHON_PYPCAP_LICENSE = BSD-3-Clause
PYTHON_PYPCAP_LICENSE_FILES = LICENSE
PYTHON_PYPCAP_SETUP_TYPE = distutils
PYTHON_PYPCAP_DEPENDENCIES = host-python-pyrex libpcap
define PYTHON_PYPCAP_CONFIGURE_CMDS
$(HOST_DIR)/bin/python2 $(HOST_DIR)/bin/pyrexc $(@D)/pcap.pyx
(cd $(@D); \
$(HOST_DIR)/bin/python setup.py \
config --with-pcap=$(STAGING_DIR)/usr)
endef
$(eval $(python-package))