Changeset 27016


Ignore:
Timestamp:
2011-05-27T03:02:35+02:00 (7 years ago)
Author:
swalker
Message:

[packages] lft: update to 3.32

  • add whob package
  • disable install target strip'ping
  • remove obsolete pcap cflags patch
  • use PKG_INSTALL & CONFIGURE_ARGS
Location:
packages/net/lft
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/lft/Makefile

    r15247 r27016  
    11# 
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2006-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=lft 
    11 PKG_VERSION:=3.1 
     11PKG_VERSION:=3.32 
    1212PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1515PKG_SOURCE_URL:=http://pwhois.org/get 
    16 PKG_MD5SUM:=70e69706e7600f34c0dfb54e2ee5eb01 
     16PKG_MD5SUM:=5f09c9ad2475cb237b8277a2d69c569c 
     17 
     18PKG_INSTALL:=1 
    1719 
    1820include $(INCLUDE_DIR)/package.mk 
    1921 
    20 define Package/lft 
     22define Package/lft/Default 
    2123  SECTION:=net 
    2224  CATEGORY:=Network 
     
    2628endef 
    2729 
    28 define Package/lft/description 
     30define Package/lft/Default/description 
    2931        LFT, short for Layer Four Traceroute, is a sort of 'traceroute' that 
    3032        often works much faster (than the commonly-used Van Jacobson method) 
     
    3537endef 
    3638 
    37 define Build/Configure   
    38         $(call Build/Configure/Default, \ 
    39                 --with-pcap="$(STAGING_DIR)/usr" \ 
    40         ) 
     39define Package/lft 
     40  $(call Package/lft/Default) 
    4141endef 
    4242 
    43 define Build/Compile     
    44         $(MAKE) -C $(PKG_BUILD_DIR) 
     43define Package/lft/description 
     44        $(call Package/lft/Default/description) 
     45        This package contains the lft 'traceroute' program. 
    4546endef 
    4647 
    47 define Package/lft/install       
    48         $(INSTALL_DIR) $(1)/usr/sbin 
    49         $(INSTALL_BIN) $(PKG_BUILD_DIR)/lft $(1)/usr/sbin/ 
     48define Package/whob 
     49  $(call Package/lft/Default) 
     50endef 
     51 
     52define Package/whob/description 
     53        $(call Package/lft/Default/description) 
     54        This package contains the whob 'whois' program. 
     55endef 
     56 
     57CONFIGURE_ARGS += \ 
     58        --with-pcap="$(STAGING_DIR)/usr" 
     59 
     60define Package/lft/install 
     61        $(INSTALL_DIR) $(1)/usr/bin 
     62        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lft $(1)/usr/bin/ 
     63endef 
     64 
     65define Package/whob/install 
     66        $(INSTALL_DIR) $(1)/usr/bin 
     67        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/whob $(1)/usr/bin/ 
    5068endef 
    5169 
    5270$(eval $(call BuildPackage,lft)) 
     71$(eval $(call BuildPackage,whob)) 
Note: See TracChangeset for help on using the changeset viewer.