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
|
2018-01-05 21:27:17 +00:00
|
|
|
PKG_VERSION:=3.0.1
|
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/
|
2018-01-05 21:27:17 +00:00
|
|
|
PKG_HASH:=24475e38d39c19683bc88054524df018fe6949d70fbd4c69e298d39a0269f173
|
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))
|