Changeset 20302


Ignore:
Timestamp:
2010-03-19T17:26:27+01:00 (6 years ago)
Author:
florian
Message:

[package] update faifa to r55, patch from Raphael Huck.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/faifa/Makefile

    r19820 r20302  
    11# 
    2 # Copyright (C) 2009 OpenWrt.org 
     2# Copyright (C) 2006-2010 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=faifa 
    11 PKG_REV:=50 
     11PKG_REV:=55 
    1212PKG_VERSION:=r$(PKG_REV) 
    1313PKG_RELEASE:=1 
     
    1919PKG_SOURCE_PROTO:=svn 
    2020 
     21PKG_INSTALL:=1 
     22 
    2123include $(INCLUDE_DIR)/package.mk 
    22  
    23 TARGET_CFLAGS += $(FPIC) 
    2424 
    2525define Package/faifa 
     
    2828  DEPENDS:=+libpthread +libopenssl +libpcap 
    2929  TITLE:=configure HomePlug 1.0/AV PLC devices 
    30   URL:=http://open-plc.org 
     30  URL:=http://open-plc.org/ 
    3131endef 
    3232 
    3333define Package/faifa/description 
    34   Faifa can configure any Intellon-based Power Line Communication 
    35   device using Intellon INT5000 and INT6000 series chips 
    36   (6000 and 6300 chips). It supports all Intellon-specific management 
    37   and control frames as well as standard management frames. 
     34Faifa can configure any Intellon-based Power Line Communication device using 
     35Intellon INT5000 and INT6000 series chips (6000 and 6300 chips). It supports all 
     36Intellon-specific management and control frames as well as standard management 
     37frames. 
    3838endef 
     39 
     40TARGET_CFLAGS += $(FPIC) 
     41 
     42MAKE_FLAGS += \ 
     43        OS=LINUX \ 
     44        SVN_REV=$(PKG_REV) \ 
     45        CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \ 
     46        LDFLAGS="$(TARGET_LDFLAGS)" 
    3947 
    4048define Build/Configure 
     
    4351endef 
    4452 
    45 define Build/Compile 
    46         $(MAKE) -C $(PKG_BUILD_DIR) \ 
    47                 $(TARGET_CONFIGURE_OPTS) \ 
    48                 CFLAGS="$(TARGET_CFLAGS) -DSVN_REV=$(PKG_REV) $(TARGET_CPPFLAGS)" \ 
    49                 LDFLAGS="$(TARGET_LDFLAGS)" \ 
    50                 DESTDIR="$(PKG_INSTALL_DIR)" \ 
    51                 faifa 
    52 endef 
    53  
    5453define Package/faifa/install 
    55         $(INSTALL_DIR) $(1)/usr/sbin 
    56         $(CP) $(PKG_BUILD_DIR)/faifa $(1)/usr/sbin/ 
     54        $(INSTALL_DIR) $(1)/usr/bin 
     55        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/faifa $(1)/usr/bin/ 
    5756endef 
    5857 
Note: See TracChangeset for help on using the changeset viewer.