2 # Copyright (C) 2015 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_MD5SUM
:=6bfc4e1ff37fe4ba5d481ddc40323529
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
37 TITLE
:=SUMO
- Simulation of Urban MObility
38 URL
:=http
://sumo-sim.org
/
39 DEPENDS
:=+libstdcpp
+libxerces-c
42 define Package
/sumo
/description
43 SUMO is a free and open traffic simulation suite which is available since
2001.
44 SUMO allows modelling of intermodal traffic systems including road vehicles
,
45 public transport and pedestrians. Included with SUMO is a wealth of supporting
46 tools which handle tasks such
as route finding
, visualization
, network import
47 and emission calculation. SUMO can be enhanced with custom models and provides
48 various APIs to remotely control the simulation.
51 define Package
/sumo
/install
52 $(INSTALL_DIR
) $(1)/usr
/bin
53 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/{activitygen
,dfrouter
,duarouter
,emissionsDrivingCycle
,emissionsMap
,jtrrouter
,marouter
,netconvert
,netgenerate
,od2trips
,polyconvert
,TraCITestClient
} $(1)/usr
/bin
54 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/sumo
$(1)/usr
/bin
/sumo-bin
55 $(INSTALL_DIR
) $(1)/usr
/sbin
56 $(INSTALL_BIN
) files
/sumo.sh
$(1)/usr
/sbin
/sumo
57 $(INSTALL_DIR
) $(1)/usr
/share
/sumo
58 $(CP
) $(PKG_BUILD_DIR
)/data
$(1)/usr
/share
/sumo
/
61 $(eval
$(call BuildPackage
,sumo
))