Changeset 28091


Ignore:
Timestamp:
2011-08-27T21:12:45+02:00 (6 years ago)
Author:
swalker
Message:

[packages] ditg: update to 2.8.0-rc1, remove obsolete patch

Location:
packages/net/ditg
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/ditg/Makefile

    r20352 r28091  
    11# 
    2 # Copyright (C) 2010 OpenWrt.org 
     2# Copyright (C) 2010-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=ditg 
    11 PKG_VERSION:=2.7.0 
    12 PKG_RELEASE:=Beta2 
     11PKG_VERSION:=2.8.0-rc1 
     12PKG_RELEASE:=1 
    1313 
    14 PKG_SOURCE:=D-ITG-${PKG_VERSION}-${PKG_RELEASE}.zip 
    15 PKG_SOURCE_URL:=http://www.grid.unina.it/software/ITG/codice/ 
    16 PKG_MD5SUM:=6cf5f1a16283cff8297521ec4093df7f 
     14PKG_SOURCE:=D-ITG-$(PKG_VERSION).tgz 
     15PKG_SOURCE_URL:=http://www.grid.unina.it/software/ITG/codice 
     16PKG_MD5SUM:=ed8efdda540f467ef4d688ed4184b11d 
    1717 
    18 PKG_BUILD_DIR:=$(BUILD_DIR)/D-ITG-${PKG_VERSION}-${PKG_RELEASE} 
     18PKG_BUILD_DIR:=$(BUILD_DIR)/D-ITG-$(PKG_VERSION) 
    1919 
    2020include $(INCLUDE_DIR)/package.mk 
    2121 
    22 define Package/ditg/Default 
     22define Package/ditg 
    2323  TITLE:=D-ITG (Distributed Internet Traffic Generator) 
    2424  SECTION:=net 
     
    2626  URL:=http://www.grid.unina.it/software/ITG/ 
    2727  MAINTAINER:=Giovanni Di Stasi <giovanni.distasi@unina.it> 
    28   DEPENDS:= +libpcap +libstdcpp 
     28  DEPENDS:=+libpthread +uclibcxx 
    2929endef 
    3030 
    31 define Package/ditg/Default/description 
     31define Package/ditg/description 
    3232  D-ITG (Distributed Internet Traffic Generator) is a platform capable 
    3333  to produce traffic at packet level accurately replicating appropriate 
     
    4040endef 
    4141 
    42 define Package/ditg 
    43   $(call Package/ditg/Default) 
    44 endef 
     42MAKE_PATH := src 
    4543 
    46 # uncomment for arm targets 
    47 #EXTRA_FLAGS=" arm=on " 
     44TARGET_CXX = $(STAGING_DIR)/host/bin/g++-uc 
    4845 
    49 define Build/Compile 
    50         $(MAKE) \ 
    51                 CXX="$(TARGET_CXX)" \ 
    52                 CXXOPT="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \ 
    53                 -C $(PKG_BUILD_DIR)/src $(EXTRA_CFLAGS) 
    54 endef 
     46MAKE_FLAGS += \ 
     47        CXXOPT="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -DMULTIPORT -DARM" 
    5548 
    5649define Package/ditg/install 
    57         $(INSTALL_DIR) $(1)/usr/bin/ 
    58         $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/{ITGSend,ITGRecv,ITGLog,ITGDec}  \ 
    59                        $(1)/usr/bin 
     50        $(INSTALL_DIR) $(1)/usr/bin 
     51        $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/ITG{Send,Recv,Log,Dec} $(1)/usr/bin/ 
    6052endef 
    6153 
Note: See TracChangeset for help on using the changeset viewer.