mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-22 18:42:11 +00:00
pypcap: new package
Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
d26482762c
commit
c8b281354c
22
package/python-pypcap/python-pypcap.mk
Normal file
22
package/python-pypcap/python-pypcap.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-pypcap
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_PYPCAP_VERSION = 102
|
||||
PYTHON_PYPCAP_SITE = https://pypcap.googlecode.com/svn/trunk
|
||||
PYTHON_PYPCAP_SITE_METHOD = svn
|
||||
PYTHON_PYPCAP_LICENSE = BSD-3c
|
||||
PYTHON_PYPCAP_LICENSE_FILES = LICENSE
|
||||
PYTHON_PYPCAP_SETUP_TYPE = distutils
|
||||
PYTHON_PYPCAP_DEPENDENCIES = host-python-pyrex libpcap
|
||||
|
||||
define PYTHON_PYPCAP_CONFIGURE_CMDS
|
||||
$(HOST_DIR)/usr/bin/pyrexc $(@D)/pcap.pyx
|
||||
(cd $(@D); \
|
||||
$(HOST_DIR)/usr/bin/python setup.py \
|
||||
config --with-pcap=$(STAGING_DIR)/usr)
|
||||
endef
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user