summaryrefslogtreecommitdiff
path: root/package/scons
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-01-09 09:27:32 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2023-01-09 09:27:32 +0100
commit179b687e2f99d3b843c657b42c991200e460aaa1 (patch)
treef93aa088f8a5ff8316cc6cbf8bc1f89907402c60 /package/scons
parentf31b77d5b50a155c648bdab6ab7cd2dcd918c418 (diff)
remove python2 dependencies and packages
Diffstat (limited to 'package/scons')
-rw-r--r--package/scons/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/package/scons/Makefile b/package/scons/Makefile
index 7acc52c1a..9f77e11e7 100644
--- a/package/scons/Makefile
+++ b/package/scons/Makefile
@@ -4,19 +4,21 @@
include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= scons
-PKG_VERSION:= 2.3.0
-PKG_RELEASE:= 2
-PKG_HASH:= 9442069999cf4b2caa94a5886ab4c2c71de1718ed5e9176c18e2b6dbca463b4b
+PKG_VERSION:= 3.1.2
+PKG_RELEASE:= 1
+PKG_HASH:= 7801f3f62f654528e272df780be10c0e9337e897650b62ddcee9f39fde13f8fb
PKG_DESCR:= software construction tool
PKG_SECTION:= dev/tools
-HOST_BUILDDEP:= python2-host
+HOST_BUILDDEP:= python3-host
PKG_URL:= http://www.scons.org
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=scons/}
-DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+DISTFILES:= $(PKG_NAME)-${PKG_VERSION}.tar.gz
PKG_CFLINE_SCONS:= depends on ADK_HOST_ONLY
+#WRKDIST= ${WRKDIR}/SCons-${PKG_VERSION}
+
include $(ADK_TOPDIR)/mk/host.mk
include $(ADK_TOPDIR)/mk/package.mk
@@ -26,7 +28,7 @@ HOST_STYLE:= manual
scons-hostinstall:
(cd $(WRKBUILD); PATH='$(HOST_PATH)' python setup.py install \
- --prefix=$(STAGING_HOST_DIR)/usr)
+ --prefix=$(STAGING_HOST_DIR)/usr --install-lib=$(STAGING_HOST_DIR)/lib/scons-$(PKG_VERSION))
include ${ADK_TOPDIR}/mk/host-bottom.mk
include ${ADK_TOPDIR}/mk/pkg-bottom.mk