sysklogd: fix build on musl
[buildroot-gz.git] / package / python-pypcap / python-pypcap.mk
blob97d07f8658ae5948c233614ca8776f0ab02d5a3b
1 ################################################################################
3 # python-pypcap
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
16 (cd $(@D); \
17 $(HOST_DIR)/usr/bin/python setup.py \
18 config --with-pcap=$(STAGING_DIR)/usr)
19 endef
21 $(eval $(python-package))