[package] update faifa to r55, patch from Raphael Huck.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20302 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7b957cf6b7
commit
8c7949eb22
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2009 OpenWrt.org
|
||||
# Copyright (C) 2006-2010 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
@ -8,7 +8,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=faifa
|
||||
PKG_REV:=50
|
||||
PKG_REV:=55
|
||||
PKG_VERSION:=r$(PKG_REV)
|
||||
PKG_RELEASE:=1
|
||||
|
||||
@ -18,42 +18,41 @@ PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_VERSION:=$(PKG_REV)
|
||||
PKG_SOURCE_PROTO:=svn
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
PKG_INSTALL:=1
|
||||
|
||||
TARGET_CFLAGS += $(FPIC)
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/faifa
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=+libpthread +libopenssl +libpcap
|
||||
TITLE:=configure HomePlug 1.0/AV PLC devices
|
||||
URL:=http://open-plc.org
|
||||
URL:=http://open-plc.org/
|
||||
endef
|
||||
|
||||
define Package/faifa/description
|
||||
Faifa can configure any Intellon-based Power Line Communication
|
||||
device using Intellon INT5000 and INT6000 series chips
|
||||
(6000 and 6300 chips). It supports all Intellon-specific management
|
||||
and control frames as well as standard management frames.
|
||||
Faifa can configure any Intellon-based Power Line Communication device using
|
||||
Intellon INT5000 and INT6000 series chips (6000 and 6300 chips). It supports all
|
||||
Intellon-specific management and control frames as well as standard management
|
||||
frames.
|
||||
endef
|
||||
|
||||
TARGET_CFLAGS += $(FPIC)
|
||||
|
||||
MAKE_FLAGS += \
|
||||
OS=LINUX \
|
||||
SVN_REV=$(PKG_REV) \
|
||||
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS)"
|
||||
|
||||
define Build/Configure
|
||||
(cd $(PKG_BUILD_DIR); ./autogen.sh)
|
||||
$(call Build/Configure/Default)
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CFLAGS) -DSVN_REV=$(PKG_REV) $(TARGET_CPPFLAGS)" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
||||
faifa
|
||||
endef
|
||||
|
||||
define Package/faifa/install
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(CP) $(PKG_BUILD_DIR)/faifa $(1)/usr/sbin/
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/faifa $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,faifa))
|
||||
|
Loading…
x
Reference in New Issue
Block a user