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