aboutsummaryrefslogtreecommitdiff
path: root/package/python-pypcap/python-pypcap.mk
blob: 89f2dc158988d7a279e161df4fd5d173f1173589 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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))