summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-12-11 20:26:39 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-12-15 12:36:35 (GMT)
commitd6c20a3524513c39dfb2d47251c2cccd384b5b8f (patch)
treea8ad7f2ad9de12c423e1a08da054d87cd9736f8c
parenta1cc00e1725e2c6b0b88e46d2f7a264ca65ae9f7 (diff)
downloadbuildroot-d6c20a3524513c39dfb2d47251c2cccd384b5b8f.tar.gz
buildroot-d6c20a3524513c39dfb2d47251c2cccd384b5b8f.tar.bz2
python-dpkt: convert to the Python package infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/python-dpkt/python-dpkt.mk13
1 files changed, 2 insertions, 11 deletions
diff --git a/package/python-dpkt/python-dpkt.mk b/package/python-dpkt/python-dpkt.mk
index 314415c..0b3dc11 100644
--- a/package/python-dpkt/python-dpkt.mk
+++ b/package/python-dpkt/python-dpkt.mk
@@ -7,15 +7,6 @@
PYTHON_DPKT_VERSION = 1.7
PYTHON_DPKT_SOURCE = dpkt-$(PYTHON_DPKT_VERSION).tar.gz
PYTHON_DPKT_SITE = http://dpkt.googlecode.com/files
+PYTHON_DPKT_SETUP_TYPE = distutils
-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))
+$(eval $(python-package))