2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
12 PKG_VERSION
:=r
$(PKG_REV
)
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=https
://svn.open-plc.org
/trunk
/
17 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
18 PKG_SOURCE_VERSION
:=$(PKG_REV
)
23 include $(INCLUDE_DIR
)/package.mk
28 DEPENDS
:=+libpthread
+libopenssl
+libpcap
29 TITLE
:=configure HomePlug
1.0/AV PLC devices
30 URL
:=http
://open-plc.org
/
33 define Package
/faifa
/description
34 Faifa can configure any Intellon-based Power Line Communication device using
35 Intellon INT5000 and INT6000 series chips
(6000 and
6300 chips
). It supports
all
36 Intellon-specific management and control frames
as well
as standard management
40 TARGET_CFLAGS
+= $(FPIC
)
45 CFLAGS
="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
46 LDFLAGS
="$(TARGET_LDFLAGS)"
48 define Build
/Configure
49 (cd
$(PKG_BUILD_DIR
); .
/autogen.sh
)
50 $(call Build
/Configure
/Default
)
53 define Package
/faifa
/install
54 $(INSTALL_DIR
) $(1)/usr
/bin
55 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/faifa
$(1)/usr
/bin
/
58 $(eval
$(call BuildPackage
,faifa
))