cloog: upgrade to 0.18.0
[openwrt.git] / tools / cloog / Makefile
1 #
2 # Copyright (C) 2009-2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=cloog
10 PKG_VERSION:=0.18.0
11
12 PKG_SOURCE_URL:=http://www.bastoul.net/cloog/pages/download/
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_MD5SUM:=be78a47bd82523250eb3e91646db5b3d
15
16 HOST_FIXUP:=autoreconf
17
18 HOST_BUILD_PARALLEL:=1
19 HOST_CONFIGURE_PARALLEL:=1
20
21 include $(INCLUDE_DIR)/host-build.mk
22
23 unexport CFLAGS
24
25 HOST_CONFIGURE_VARS += \
26         LIBS=-lstdc++
27
28 HOST_CONFIGURE_ARGS += \
29         --enable-static \
30         --disable-shared \
31         --with-ppl=$(BUILD_DIR_HOST)
32
33 define Host/Configure
34         (cd $(HOST_BUILD_DIR)/$(3); \
35                 $(HOST_CONFIGURE_CMD) \
36                 $(HOST_CONFIGURE_VARS) \
37                 $(HOST_CONFIGURE_ARGS); \
38         )
39 endef
40
41 $(eval $(call HostBuild))