The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / python-pypcap / python-pypcap.mk
1 ################################################################################
2 #
3 # python-pypcap
4 #
5 ################################################################################
6
7 PYTHON_PYPCAP_VERSION = 102
8 PYTHON_PYPCAP_SITE = https://pypcap.googlecode.com/svn/trunk
9 PYTHON_PYPCAP_SITE_METHOD = svn
10 PYTHON_PYPCAP_LICENSE = BSD-3c
11 PYTHON_PYPCAP_LICENSE_FILES = LICENSE
12 PYTHON_PYPCAP_SETUP_TYPE = distutils
13 PYTHON_PYPCAP_DEPENDENCIES = host-python-pyrex libpcap
14
15 define PYTHON_PYPCAP_CONFIGURE_CMDS
16         $(HOST_DIR)/usr/bin/pyrexc $(@D)/pcap.pyx
17         (cd $(@D); \
18                 $(HOST_DIR)/usr/bin/python setup.py \
19                 config --with-pcap=$(STAGING_DIR)/usr)
20 endef
21
22 $(eval $(python-package))