2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=http://ftp.fredan.se/pub/gentoo.org/distfiles
17 PKG_MD5SUM:=5b0f45addbb371cc076fe6d9d9694546
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 include $(INCLUDE_DIR)/package.mk
27 TITLE:=The alternative traceroute and whois tools for network engineers
28 URL:=http://pwhois.org/lft
31 define Build/Configure
32 $(call Build/Configure/Default, \
33 --with-pcap="$(STAGING_DIR)/usr" \
38 $(MAKE) -C $(PKG_BUILD_DIR)
41 define Package/lft/install
42 $(INSTALL_DIR) $(1)/usr/sbin
43 $(INSTALL_BIN) $(PKG_BUILD_DIR)/lft $(1)/usr/sbin/
46 $(eval $(call BuildPackage,lft))