exfatprogs: update to 1.2.5
[feed/packages.git] / utils / sumo / Makefile
1 #
2 # Copyright (C) 2015-2016 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:=sumo
11 PKG_VERSION:=1.16.0
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-src-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/sumo
16 PKG_HASH:=33694b554a8c661ec407d04cc7c6534c473ccb2fbe7bf2ea97e1faddc70654fa
17
18 PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
19 PKG_LICENSE:=GPL-3.0-or-later
20 PKG_LICENSE_FILES:=COPYING
21
22 include $(INCLUDE_DIR)/package.mk
23 include $(INCLUDE_DIR)/cmake.mk
24
25 define Package/sumo
26 SECTION:=utils
27 CATEGORY:=Utilities
28 TITLE:=SUMO - Simulation of Urban MObility
29 URL:=https://sumo.dlr.de/
30 DEPENDS:=+libxerces-c +zlib
31 endef
32
33 define Package/sumo/description
34 SUMO is a free and open traffic simulation suite which is available since 2001.
35 SUMO allows modelling of intermodal traffic systems including road vehicles,
36 public transport and pedestrians. Included with SUMO is a wealth of supporting
37 tools which handle tasks such as route finding, visualization, network import
38 and emission calculation. SUMO can be enhanced with custom models and provides
39 various APIs to remotely control the simulation.
40 endef
41
42 CMAKE_OPTIONS += \
43 -DCCACHE_SUPPORT=OFF
44
45 define Package/sumo/install
46 $(INSTALL_DIR) $(1)/usr/bin
47 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/{activitygen,dfrouter,duarouter,emissionsDrivingCycle,emissionsMap,jtrrouter,marouter,netconvert,netgenerate,od2trips,polyconvert} $(1)/usr/bin
48 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/sumo $(1)/usr/bin/sumo-bin
49 $(INSTALL_DIR) $(1)/usr/sbin
50 $(INSTALL_BIN) files/sumo.sh $(1)/usr/sbin/sumo
51 $(INSTALL_DIR) $(1)/usr/share/sumo
52 $(CP) $(PKG_BUILD_DIR)/data $(1)/usr/share/sumo/
53 endef
54
55 $(eval $(call BuildPackage,sumo))