mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
scons: 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
3fcb28e7a1
commit
a69b2d3926
@ -8,17 +8,12 @@ SCONS_VERSION = 2.3.0
|
|||||||
SCONS_SITE = http://downloads.sourceforge.net/project/scons/scons/$(SCONS_VERSION)
|
SCONS_SITE = http://downloads.sourceforge.net/project/scons/scons/$(SCONS_VERSION)
|
||||||
SCONS_LICENSE = MIT
|
SCONS_LICENSE = MIT
|
||||||
SCONS_LICENSE_FILES = LICENSE.txt
|
SCONS_LICENSE_FILES = LICENSE.txt
|
||||||
|
SCONS_SETUP_TYPE = distutils
|
||||||
|
|
||||||
define HOST_SCONS_BUILD_CMDS
|
HOST_SCONS_INSTALL_OPT = \
|
||||||
(cd $(@D); python setup.py build)
|
--install-lib=$(HOST_DIR)/usr/lib/scons-$(SCONS_VERSION)
|
||||||
endef
|
|
||||||
|
|
||||||
define HOST_SCONS_INSTALL_CMDS
|
$(eval $(host-python-package))
|
||||||
(cd $(@D); python setup.py install --prefix=$(HOST_DIR)/usr \
|
|
||||||
--install-lib=$(HOST_DIR)/usr/lib/scons-$(SCONS_VERSION))
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(host-generic-package))
|
|
||||||
|
|
||||||
# variables used by other packages
|
# variables used by other packages
|
||||||
SCONS = $(HOST_DIR)/usr/bin/scons
|
SCONS = $(HOST_DIR)/usr/bin/scons
|
||||||
|
Loading…
x
Reference in New Issue
Block a user