From: swalker Date: Sat, 27 Aug 2011 19:13:44 +0000 (+0000) Subject: [packages] paris-traceroute: add paris-traceroute X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=2344eb87a058307b40e6779f4d7fb75a7b417c76;p=packages.git [packages] paris-traceroute: add paris-traceroute git-svn-id: svn://svn.openwrt.org/openwrt/packages@28092 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/paris-traceroute/Makefile b/net/paris-traceroute/Makefile new file mode 100644 index 000000000..8708781e6 --- /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))