2 # Copyright (C) 2006-2011 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)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://pwhois.org/get
16 PKG_MD5SUM:=5f09c9ad2475cb237b8277a2d69c569c
20 include $(INCLUDE_DIR)/package.mk
22 define Package/lft/Default
26 TITLE:=The alternative traceroute and whois tools for network engineers
27 URL:=http://pwhois.org/lft
30 define Package/lft/Default/description
31 LFT, short for Layer Four Traceroute, is a sort of 'traceroute' that
32 often works much faster (than the commonly-used Van Jacobson method)
33 and goes through many configurations of packet-filters (firewalls).
34 More importantly, LFT implements numerous other features including AS
35 number lookups through several reliable sources, loose source routing,
36 netblock name lookups, et al.
40 $(call Package/lft/Default)
43 define Package/lft/description
44 $(call Package/lft/Default/description)
45 This package contains the lft 'traceroute' program.
49 $(call Package/lft/Default)
52 define Package/whob/description
53 $(call Package/lft/Default/description)
54 This package contains the whob 'whois' program.
58 --with-pcap="$(STAGING_DIR)/usr"
60 define Package/lft/install
61 $(INSTALL_DIR) $(1)/usr/bin
62 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lft $(1)/usr/bin/
65 define Package/whob/install
66 $(INSTALL_DIR) $(1)/usr/bin
67 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/whob $(1)/usr/bin/
70 $(eval $(call BuildPackage,lft))
71 $(eval $(call BuildPackage,whob))