2012-01-04 12:30:02 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# python-dpkt
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
|
|
|
PYTHON_DPKT_VERSION = 1.7
|
|
|
|
PYTHON_DPKT_SOURCE = dpkt-$(PYTHON_DPKT_VERSION).tar.gz
|
|
|
|
PYTHON_DPKT_SITE = http://dpkt.googlecode.com/files
|
|
|
|
|
|
|
|
PYTHON_DPKT_DEPENDENCIES = python
|
|
|
|
|
|
|
|
define PYTHON_DPKT_BUILD_CMDS
|
|
|
|
(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define PYTHON_DPKT_INSTALL_TARGET_CMDS
|
|
|
|
(cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr)
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|
2012-01-04 12:30:02 +01:00
|
|
|
|