banana-pro: bring it in shape
[openadk.git] / package / forte / Makefile
blob0b39e1ed8b1a814ca53408670afca7385ebf2e5a
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 # always use tab spaces as separator, no spaces
7 PKG_NAME:= forte
8 PKG_VERSION:= 1.12.0
9 PKG_RELEASE:= 1
10 PKG_HASH:= 65541d5f682c386206f5fdee6a5663c19b3274ee6002b764a0314c49994c280c
11 PKG_DESCR:= IEC61499 runtime
12 PKG_SECTION:= libs/misc
13 PKG_DEPENDS:= libmodbus
14 #PKG_BUILDDEP:= add packages which need to be compiled
15 PKG_URL:= https://www.eclipse.org/4diac/
16 PKG_SITES:= http://ftp-stud.fht-esslingen.de/pub/Mirrors/eclipse/4diac/releases/1.12/forte/
17 DISTFILES:= $(PKG_NAME)-incubation_$(PKG_VERSION).zip
18 WRKDIST= $(WRKDIR)/$(PKG_NAME)-incubation_$(PKG_VERSION)
20 include $(ADK_TOPDIR)/mk/package.mk
23 $(eval $(call PKG_template,FORTE,forte,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
25 CONFIG_STYLE:= cmake
26 CMAKE_FLAGS:= -G "Unix Makefiles" -DFORTE_ARCHITECTURE=Posix -DFORTE_COM_ETH=ON -DFORTE_COM_FBDK=ON \
27 -DFORTE_COM_LOCAL=ON -DFORTE_TESTS=OFF -DFORTE_MODULE_CONVERT=ON \
28 -DFORTE_MODULE_IEC61131=ON -DFORTE_MODULE_UTILS=ON
30 # please install all files and directories to the package dir
31 forte-install:
32 $(INSTALL_DIR) $(IDIR_FORTE)/usr/bin
33 $(INSTALL_BIN) $(WRKINST)/usr/bin/forte \
34 $(IDIR_FORTE)/usr/bin
36 # please remove ALL above comments, before commiting
37 include $(ADK_TOPDIR)/mk/pkg-bottom.mk