2 # Copyright (C) 2011-2014 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 PKG_MD5SUM
:=a8988c7ef11133bb3b6ccf0af67ce010
17 include $(INCLUDE_DIR
)/host-build.mk
26 .
/files
/pywrap.sh
$(HOST_BUILD_DIR
)/setup.py
install --prefix=$(STAGING_DIR_HOST
)
27 rm -f
$(STAGING_DIR_HOST
)/bin
/scons
*.py
28 for bin in
$(STAGING_DIR_HOST
)/bin
/scons
*; do \
29 mv
"$$$$bin" "$$$$bin.py"; \
30 cp .
/files
/pywrap.sh
"$$$$bin"; \
34 $(eval
$(call HostBuild
))