From f9d656d5925d6abc558d9e566714c8d160f1d1a6 Mon Sep 17 00:00:00 2001 From: Stephen Walker Date: Sat, 27 Aug 2011 19:13:44 +0000 Subject: [PATCH] [packages] paris-traceroute: add paris-traceroute SVN-Revision: 28092 --- net/paris-traceroute/Makefile | 48 +++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 net/paris-traceroute/Makefile diff --git a/net/paris-traceroute/Makefile b/net/paris-traceroute/Makefile new file mode 100644 index 0000000000..8708781e6b --- /dev/null +++ b/net/paris-traceroute/Makefile @@ -0,0 +1,48 @@ +# +# Copyright (C) 2011 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=paris-traceroute +PKG_VERSION:=0.92 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-dev.tar.gz +PKG_SOURCE_URL:=http://www.paris-traceroute.net/downloads +PKG_MD5SUM:=18643a62fdcabd038cdeb14b5cbedb8b + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-current +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/paris-traceroute + SECTION:=net + CATEGORY:=Network + TITLE:=Paris Traceroute + URL:=http://www.paris-traceroute.net/ + DEPENDS:=+libpthread +uclibcxx +endef + +define Package/paris-traceroute/description + Paris traceroute is a new version of the well-known network diagnosis and + measurement tool. It addresses problems caused by load balancers with the + initial implementation of traceroute. +endef + +TARGET_CXX = $(STAGING_DIR)/host/bin/g++-uc +TARGET_LDFLAGS += -lm + +define Package/paris-traceroute/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) \ + $(PKG_INSTALL_DIR)/usr/bin/paris-traceroute \ + $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,paris-traceroute)) -- 2.30.2