[packages] polipo: solve a bunch of "sh: bad number" errors in init script, always...
[openwrt/svn-archive/archive.git] / net / lft / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=lft
11 PKG_VERSION:=3.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=http://pwhois.org/get
16 PKG_MD5SUM:=70e69706e7600f34c0dfb54e2ee5eb01
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/lft
21 SECTION:=net
22 CATEGORY:=Network
23 DEPENDS:=+libpcap
24 TITLE:=The alternative traceroute and whois tools for network engineers
25 URL:=http://pwhois.org/lft
26 endef
27
28 define Package/lft/description
29 LFT, short for Layer Four Traceroute, is a sort of 'traceroute' that
30 often works much faster (than the commonly-used Van Jacobson method)
31 and goes through many configurations of packet-filters (firewalls).
32 More importantly, LFT implements numerous other features including AS
33 number lookups through several reliable sources, loose source routing,
34 netblock name lookups, et al.
35 endef
36
37 define Build/Configure
38 $(call Build/Configure/Default, \
39 --with-pcap="$(STAGING_DIR)/usr" \
40 )
41 endef
42
43 define Build/Compile
44 $(MAKE) -C $(PKG_BUILD_DIR)
45 endef
46
47 define Package/lft/install
48 $(INSTALL_DIR) $(1)/usr/sbin
49 $(INSTALL_BIN) $(PKG_BUILD_DIR)/lft $(1)/usr/sbin/
50 endef
51
52 $(eval $(call BuildPackage,lft))