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

$(eval $(generic-package))