ab3d5a5f5e
- Switch to setuptools - Update License hash due to a year change: 2019 -> 2021 - Install the packages to the site-packages directory, or else packages using scons fail to build with import errors. Tested with benejson, gpsd, and mongodb. Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
21 lines
650 B
Makefile
21 lines
650 B
Makefile
################################################################################
|
|
#
|
|
# scons
|
|
#
|
|
################################################################################
|
|
|
|
SCONS_VERSION = 4.5.2
|
|
SCONS_SOURCE = SCons-$(SCONS_VERSION).tar.gz
|
|
SCONS_SITE = http://downloads.sourceforge.net/project/scons/scons/$(SCONS_VERSION)
|
|
SCONS_LICENSE = MIT
|
|
SCONS_LICENSE_FILES = LICENSE
|
|
SCONS_SETUP_TYPE = setuptools
|
|
|
|
HOST_SCONS_INSTALL_OPTS = \
|
|
--install-lib=$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages
|
|
|
|
$(eval $(host-python-package))
|
|
|
|
# variables used by other packages
|
|
SCONS = $(HOST_DIR)/bin/python3 $(HOST_DIR)/bin/scons $(if $(QUIET),-s)
|