[Packages] net/gpsd:
[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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=lft
12 PKG_VERSION:=2.5
13 PKG_RELEASE:=1
14
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
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/lft
24 SECTION:=net
25 CATEGORY:=Network
26 DEPENDS:=+libpcap
27 TITLE:=The alternative traceroute and whois tools for network engineers
28 URL:=http://pwhois.org/lft
29 endef
30
31 define Build/Configure
32 $(call Build/Configure/Default, \
33 --with-pcap="$(STAGING_DIR)/usr" \
34 )
35 endef
36
37 define Build/Compile
38 $(MAKE) -C $(PKG_BUILD_DIR)
39 endef
40
41 define Package/lft/install
42 $(INSTALL_DIR) $(1)/usr/sbin
43 $(INSTALL_BIN) $(PKG_BUILD_DIR)/lft $(1)/usr/sbin/
44 endef
45
46 $(eval $(call BuildPackage,lft))