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-06-25 22:02:10 +00:00
|
|
|
PKG_MD5SUM:=a8988c7ef11133bb3b6ccf0af67ce010
|
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))
|