2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 # $Id: Makefile 14696 2009-02-28 20:50:40Z nbd $
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
16 PKG_SOURCE_URL:=@SF/boost
20 include $(INCLUDE_DIR)/host-build.mk
21 include $(INCLUDE_DIR)/package.mk
23 define Package/boost-jam
27 URL:=http://www.boost.org
30 define Build/DefaultTargets
34 # bjam does not provide a configure-script nor a Makefile
35 ( cd $(HOST_BUILD_DIR) ; ./build.sh gcc )
39 $(INSTALL_DIR) $(STAGING_DIR_HOST)/usr/bin
40 $(CP) $(HOST_BUILD_DIR)/bin.*/bjam $(STAGING_DIR_HOST)/usr/bin/
43 $(eval $(call HostBuild))
44 $(eval $(call BuildPackage,boost-jam))