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# 7include $(TOPDIR)/rules.mk 8 9PKG_NAME:=cloog 10PKG_VERSION:=0.18.1 11 12PKG_SOURCE_URL:=http://www.bastoul.net/cloog/pages/download/ 13PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 14PKG_MD5SUM:=e34fca0540d840e5d0f6427e98c92252 15 16HOST_FIXUP:=autoreconf 17 18HOST_BUILD_PARALLEL:=1 19HOST_CONFIGURE_PARALLEL:=1 20 21include $(INCLUDE_DIR)/host-build.mk 22 23unexport CFLAGS 24 25HOST_CONFIGURE_VARS += \ 26 LIBS=-lstdc++ 27 28HOST_CONFIGURE_ARGS += \ 29 --enable-static \ 30 --disable-shared \ 31 --with-ppl=$(BUILD_DIR_HOST) 32 33define Host/Configure 34 (cd $(HOST_BUILD_DIR)/$(3); \ 35 $(HOST_CONFIGURE_CMD) \ 36 $(HOST_CONFIGURE_VARS) \ 37 $(HOST_CONFIGURE_ARGS); \ 38 ) 39endef 40 41$(eval $(call HostBuild)) 42