mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-04 08:57:44 +00:00
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>
This commit is contained in:
parent
a1cc00e172
commit
d6c20a3524
@ -7,15 +7,6 @@
|
|||||||
PYTHON_DPKT_VERSION = 1.7
|
PYTHON_DPKT_VERSION = 1.7
|
||||||
PYTHON_DPKT_SOURCE = dpkt-$(PYTHON_DPKT_VERSION).tar.gz
|
PYTHON_DPKT_SOURCE = dpkt-$(PYTHON_DPKT_VERSION).tar.gz
|
||||||
PYTHON_DPKT_SITE = http://dpkt.googlecode.com/files
|
PYTHON_DPKT_SITE = http://dpkt.googlecode.com/files
|
||||||
|
PYTHON_DPKT_SETUP_TYPE = distutils
|
||||||
|
|
||||||
PYTHON_DPKT_DEPENDENCIES = python
|
$(eval $(python-package))
|
||||||
|
|
||||||
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))
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user