2012-05-05 17:37:34 +00:00
|
|
|
#
|
2014-04-19 21:39:12 +00:00
|
|
|
# Copyright (C) 2011-2014 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
|
2015-06-25 22:02:10 +00:00
|
|
|
PKG_VERSION:=2.3.5
|
2012-05-05 17:37:34 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=@SF/scons
|
2015-07-04 08:54:20 +00:00
|
|
|
PKG_MD5SUM:=8b0d1041266f89b18e47f26d943f8aa5
|
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))
|