kumquat-buildroot/package/python-pypcap/python-pypcap.mk
Maxime Hadjinlian facf243dc9 python-pypcap: Bump version and change site
Google Code is a closing forge, python-pypcap has already made the
move to Github.

We are not using the latest available tag as it dates back from 2005,
and ~20 more commits have been made after the last tag. Therefore,
we're using the latest commit.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-26 23:28:55 +02:00

22 lines
693 B
Makefile

################################################################################
#
# python-pypcap
#
################################################################################
PYTHON_PYPCAP_VERSION = 6f46e7bf29a648256ddc732a7d0ec83d3ffca390
PYTHON_PYPCAP_SITE = $(call github,dugsong,pypcap,$(PYTHON_PYPCAP_VERSION))
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))