2 # Copyright (C) 2015-2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-src-
$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/sumo
16 PKG_HASH
:=4494190bd6570646df7a020befe25bc66355377273d922753685737c0d38bfdf
17 PKG_MAINTAINER
:=Álvaro Fernández Rojas
<noltari@gmail.com
>
20 PKG_LICENSE_FILES
:=COPYING
26 include $(INCLUDE_DIR
)/package.mk
29 --with-xerces
=$(STAGING_DIR
)/usr \
31 --disable-dependency-tracking \
32 --disable-silent-rules
34 TARGET_CXXFLAGS
+=-fpermissive
39 TITLE
:=SUMO
- Simulation of Urban MObility
40 URL
:=http
://sumo-sim.org
/
41 DEPENDS
:=+libstdcpp
+libxerces-c
44 define Package
/sumo
/description
45 SUMO is a free and open traffic simulation suite which is available since
2001.
46 SUMO allows modelling of intermodal traffic systems including road vehicles
,
47 public transport and pedestrians. Included with SUMO is a wealth of supporting
48 tools which handle tasks such
as route finding
, visualization
, network import
49 and emission calculation. SUMO can be enhanced with custom models and provides
50 various APIs to remotely control the simulation.
53 define Package
/sumo
/install
54 $(INSTALL_DIR
) $(1)/usr
/bin
55 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/{activitygen
,dfrouter
,duarouter
,emissionsDrivingCycle
,emissionsMap
,jtrrouter
,marouter
,netconvert
,netgenerate
,od2trips
,polyconvert
,TraCITestClient
} $(1)/usr
/bin
56 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/sumo
$(1)/usr
/bin
/sumo-bin
57 $(INSTALL_DIR
) $(1)/usr
/sbin
58 $(INSTALL_BIN
) files
/sumo.sh
$(1)/usr
/sbin
/sumo
59 $(INSTALL_DIR
) $(1)/usr
/share
/sumo
60 $(CP
) $(PKG_BUILD_DIR
)/data
$(1)/usr
/share
/sumo
/
63 $(eval
$(call BuildPackage
,sumo
))