[packages] ipv6calc: update to 0.80.0, use PKG_INSTALL and MAKE_FLAGS
[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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=boost-jam
11 PKG_VERSION:=3.1.17
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
15 PKG_SOURCE_URL:=@SF/boost
16 PKG_MD5SUM:=f4afd896788f2327fd35c128ddc6e340
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)/bin
37 $(CP) $(HOST_BUILD_DIR)/bin.*/bjam $(STAGING_DIR_HOST)/bin/
38 endef
39
40 $(eval $(call HostBuild))
41 $(eval $(call BuildPackage,boost-jam))