98137b3a36951e446e72809af0f00a5bbdb79aff
[packages.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
18 BUILDONLY:=1
19
20 include $(INCLUDE_DIR)/host-build.mk
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/boost-jam
24   SECTION:=devel
25   CATEGORY:=Development
26   TITLE:=Boost JAM
27   URL:=http://www.boost.org
28 endef
29
30 define Build/DefaultTargets
31 endef
32
33 define Host/Compile
34         # bjam does not provide a configure-script nor a Makefile
35         ( cd $(HOST_BUILD_DIR) ; ./build.sh gcc )
36 endef
37
38 define Host/Install
39         $(INSTALL_DIR) $(STAGING_DIR_HOST)/usr/bin
40         $(CP) $(HOST_BUILD_DIR)/bin.*/bjam $(STAGING_DIR_HOST)/usr/bin/
41 endef
42
43 $(eval $(call HostBuild))
44 $(eval $(call BuildPackage,boost-jam))