2 # Copyright (C) 2011-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
14 PKG_SOURCE_URL
:=@SF
/scons \
15 http
://fossies.org
/linux
/misc
/
16 PKG_HASH
:=24475e38d39c19683bc88054524df018fe6949d70fbd4c69e298d39a0269f173
18 include $(INCLUDE_DIR
)/host-build.mk
27 .
/files
/pywrap.sh
$(HOST_BUILD_DIR
)/setup.py
install --prefix=$(STAGING_DIR_HOST
)
28 rm -f
$(STAGING_DIR_HOST
)/bin
/scons
*.py
29 for bin in
$(STAGING_DIR_HOST
)/bin
/scons
*; do \
30 mv
"$$$$bin" "$$$$bin.py"; \
31 cp .
/files
/pywrap.sh
"$$$$bin"; \
35 $(eval
$(call HostBuild
))