2009-01-05 09:53:38 +00:00
|
|
|
#
|
2010-03-19 16:26:27 +00:00
|
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
2009-01-05 09:53:38 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=faifa
|
2010-08-13 16:05:29 +00:00
|
|
|
PKG_REV:=64
|
2009-01-05 09:53:38 +00:00
|
|
|
PKG_VERSION:=r$(PKG_REV)
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=https://svn.open-plc.org/trunk/
|
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
PKG_SOURCE_VERSION:=$(PKG_REV)
|
|
|
|
PKG_SOURCE_PROTO:=svn
|
|
|
|
|
2010-03-19 16:26:27 +00:00
|
|
|
PKG_INSTALL:=1
|
2009-01-05 09:53:38 +00:00
|
|
|
|
2010-03-19 16:26:27 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2010-02-22 23:18:48 +00:00
|
|
|
|
2009-01-05 09:53:38 +00:00
|
|
|
define Package/faifa
|
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
|
|
|
DEPENDS:=+libpthread +libopenssl +libpcap
|
|
|
|
TITLE:=configure HomePlug 1.0/AV PLC devices
|
2010-03-19 16:26:27 +00:00
|
|
|
URL:=http://open-plc.org/
|
2009-01-05 09:53:38 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/faifa/description
|
2010-03-19 16:26:27 +00:00
|
|
|
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.
|
2009-01-05 09:53:38 +00:00
|
|
|
endef
|
|
|
|
|
2010-03-19 16:26:27 +00:00
|
|
|
TARGET_CFLAGS += $(FPIC)
|
|
|
|
|
|
|
|
MAKE_FLAGS += \
|
|
|
|
OS=LINUX \
|
|
|
|
SVN_REV=$(PKG_REV) \
|
|
|
|
CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
|
|
|
|
LDFLAGS="$(TARGET_LDFLAGS)"
|
|
|
|
|
2009-01-05 09:53:38 +00:00
|
|
|
define Build/Configure
|
2009-11-22 14:43:27 +00:00
|
|
|
(cd $(PKG_BUILD_DIR); ./autogen.sh)
|
|
|
|
$(call Build/Configure/Default)
|
2009-01-05 09:53:38 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/faifa/install
|
2010-03-19 16:26:27 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/faifa $(1)/usr/bin/
|
2009-01-05 09:53:38 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,faifa))
|