2009-03-12 22:09:16 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=boost-jam
|
|
|
|
PKG_VERSION:=3.1.17
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
|
|
|
|
PKG_SOURCE_URL:=@SF/boost
|
2009-03-17 02:39:07 +00:00
|
|
|
PKG_HOST_ONLY:=1
|
2009-03-12 22:09:16 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/boost-jam
|
|
|
|
SECTION:=devel
|
|
|
|
CATEGORY:=Development
|
|
|
|
TITLE:=Boost JAM
|
2009-03-17 02:39:07 +00:00
|
|
|
BUILDONLY:=1
|
2009-03-12 22:09:16 +00:00
|
|
|
URL:=http://www.boost.org
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Host/Compile
|
|
|
|
# bjam does not provide a configure-script nor a Makefile
|
|
|
|
( cd $(HOST_BUILD_DIR) ; ./build.sh gcc )
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Host/Install
|
|
|
|
$(INSTALL_DIR) $(STAGING_DIR_HOST)/usr/bin
|
|
|
|
$(CP) $(HOST_BUILD_DIR)/bin.*/bjam $(STAGING_DIR_HOST)/usr/bin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|
|
|
|
$(eval $(call BuildPackage,boost-jam))
|