2012-05-05 17:37:34 +00:00
|
|
|
#
|
2015-11-06 10:53:01 +00:00
|
|
|
# Copyright (C) 2011-2015 OpenWrt.org
|
2012-05-05 17:37:34 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=scons
|
2019-05-18 13:01:14 +00:00
|
|
|
PKG_VERSION:=3.0.5
|
2012-05-05 17:37:34 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
2015-10-22 00:43:35 +00:00
|
|
|
PKG_SOURCE_URL:=@SF/scons \
|
2015-11-06 10:53:01 +00:00
|
|
|
http://fossies.org/linux/misc/
|
2019-05-18 13:01:14 +00:00
|
|
|
PKG_HASH:=df676f23dc6d4bfa384fc389d95dcd21ab907e6349d4c848958ba4befb73c73e
|
2012-05-05 17:37:34 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
|
|
|
|
define Host/Configure
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Host/Compile
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Host/Install
|
2012-05-15 20:04:07 +00:00
|
|
|
./files/pywrap.sh $(HOST_BUILD_DIR)/setup.py install --prefix=$(STAGING_DIR_HOST)
|
|
|
|
rm -f $(STAGING_DIR_HOST)/bin/scons*.py
|
|
|
|
for bin in $(STAGING_DIR_HOST)/bin/scons*; do \
|
|
|
|
mv "$$$$bin" "$$$$bin.py"; \
|
|
|
|
cp ./files/pywrap.sh "$$$$bin"; \
|
|
|
|
done
|
2012-05-05 17:37:34 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|