e9a1376f29a710fbec4fdc5751083c2afefa7e69
[openwrt/svn-archive/archive.git] / devel / boost-jam / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id: Makefile 14696 2009-02-28 20:50:40Z nbd $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=boost-jam
12 PKG_VERSION:=3.1.17
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
16 PKG_SOURCE_URL:=@SF/boost
17 PKG_HOST_ONLY:=1
18
19 include $(INCLUDE_DIR)/host-build.mk
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/boost-jam
23 SECTION:=devel
24 CATEGORY:=Development
25 TITLE:=Boost JAM
26 BUILDONLY:=1
27 URL:=http://www.boost.org
28 endef
29
30 define Host/Compile
31 # bjam does not provide a configure-script nor a Makefile
32 ( cd $(HOST_BUILD_DIR) ; ./build.sh gcc )
33 endef
34
35 define Host/Install
36 $(INSTALL_DIR) $(STAGING_DIR_HOST)/usr/bin
37 $(CP) $(HOST_BUILD_DIR)/bin.*/bjam $(STAGING_DIR_HOST)/usr/bin/
38 endef
39
40 $(eval $(call HostBuild))
41 $(eval $(call BuildPackage,boost-jam))