source: packages/net/lft/Makefile @ 11702

Last change on this file since 11702 was 11702, checked in by florian, 8 years ago

Update lft to 3.1 (#3631)

  • Property copyright set to Copyright (C) 2006 OpenWrt.org
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
Line 
1#
2# Copyright (C) 2006 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7# $Id$
8
9include $(TOPDIR)/rules.mk
10
11PKG_NAME:=lft
12PKG_VERSION:=3.1
13PKG_RELEASE:=1
14
15PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16PKG_SOURCE_URL:=http://pwhois.org/get
17PKG_MD5SUM:=70e69706e7600f34c0dfb54e2ee5eb01
18
19include $(INCLUDE_DIR)/package.mk
20
21define Package/lft
22  SECTION:=net
23  CATEGORY:=Network
24  DEPENDS:=+libpcap
25  TITLE:=The alternative traceroute and whois tools for network engineers
26  URL:=http://pwhois.org/lft
27endef
28
29define Package/lft/description
30        LFT, short for Layer Four Traceroute, is a sort of 'traceroute' that
31        often works much faster (than the commonly-used Van Jacobson method)
32        and goes through many configurations of packet-filters (firewalls).
33        More importantly, LFT implements numerous other features including AS
34        number lookups through several reliable sources, loose source routing,
35        netblock name lookups, et al.
36endef
37
38define Build/Configure 
39        $(call Build/Configure/Default, \
40                --with-pcap="$(STAGING_DIR)/usr" \
41        )
42endef
43
44define Build/Compile   
45        $(MAKE) -C $(PKG_BUILD_DIR)
46endef
47
48define Package/lft/install     
49        $(INSTALL_DIR) $(1)/usr/sbin
50        $(INSTALL_BIN) $(PKG_BUILD_DIR)/lft $(1)/usr/sbin/
51endef
52
53$(eval $(call BuildPackage,lft))
Note: See TracBrowser for help on using the repository browser.