Updates D-ITG to version 2.8.0-rc1, which solves a lot of bugs and
adds some new useful features.
It now depends on uclibcxx to save space on embedded devices.

Signed-off-by: Walter de Donato <walter.dedon...@unina.it>

Index: net/ditg/patches/001-no_stropts.h
===================================================================
--- net/ditg/patches/001-no_stropts.h   (revision 27907)
+++ net/ditg/patches/001-no_stropts.h   (working copy)
@@ -1,11 +0,0 @@
---- D-ITG-2.7.0-Beta2/src/common/serial.cpp    2009-05-24
10:48:18.000000000 +0200
-+++ D-ITG-2.7.0-Beta2.new/src/common/serial.cpp        2010-03-21
17:22:54.000000000 +0100
-@@ -84,7 +84,7 @@
- #include <unistd.h>
- #include <termios.h>
- #if !defined(BSD) && !defined(ARM)
--#include <stropts.h>
-+//#include <stropts.h>
- #endif
- #include <fcntl.h>
- #include <stdio.h>
Index: net/ditg/Makefile
===================================================================
--- net/ditg/Makefile   (revision 27907)
+++ net/ditg/Makefile   (working copy)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk

 PKG_NAME:=ditg
-PKG_VERSION:=2.7.0
-PKG_RELEASE:=Beta2
+PKG_VERSION:=2.8.0
+PKG_RELEASE:=rc1

-PKG_SOURCE:=D-ITG-${PKG_VERSION}-${PKG_RELEASE}.zip
+PKG_SOURCE:=D-ITG-${PKG_VERSION}-${PKG_RELEASE}.tgz
 PKG_SOURCE_URL:=http://www.grid.unina.it/software/ITG/codice/
-PKG_MD5SUM:=6cf5f1a16283cff8297521ec4093df7f
+PKG_MD5SUM:=d55a86df43962e635cc78a83c98e8ea9

 PKG_BUILD_DIR:=$(BUILD_DIR)/D-ITG-${PKG_VERSION}-${PKG_RELEASE}

@@ -25,7 +25,7 @@
  CATEGORY:=Network
  URL:=http://www.grid.unina.it/software/ITG/
  MAINTAINER:=Giovanni Di Stasi <giovanni.dist...@unina.it>
-  DEPENDS:= +libpcap +libstdcpp
+  DEPENDS:= +uclibcxx
 endef

 define Package/ditg/Default/description
@@ -43,14 +43,11 @@
  $(call Package/ditg/Default)
 endef

-# uncomment for arm targets
-#EXTRA_FLAGS=" arm=on "
-
 define Build/Compile
       $(MAKE) \
               CXX="$(TARGET_CXX)" \
-               CXXOPT="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
-               -C $(PKG_BUILD_DIR)/src $(EXTRA_CFLAGS)
+               CXXOPT="-DMULTIPORT -DARM $(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
+               -C $(PKG_BUILD_DIR)/src
 endef

 define Package/ditg/install
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to