[packages] quagga{,-unstable}: Merge quagga-unstable package with quagga package
[openwrt/svn-archive/archive.git] / net / faifa / Makefile
1 #
2 # Copyright (C) 2006-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=faifa
11 PKG_REV:=64
12 PKG_VERSION:=r$(PKG_REV)
13 PKG_RELEASE:=1
14
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)
19 PKG_SOURCE_PROTO:=svn
20
21 PKG_INSTALL:=1
22
23 include $(INCLUDE_DIR)/package.mk
24
25 define Package/faifa
26 SECTION:=net
27 CATEGORY:=Network
28 DEPENDS:=+libpthread +libopenssl +libpcap
29 TITLE:=configure HomePlug 1.0/AV PLC devices
30 URL:=http://open-plc.org/
31 endef
32
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
37 frames.
38 endef
39
40 TARGET_CFLAGS += $(FPIC)
41
42 MAKE_FLAGS += \
43 OS=LINUX \
44 SVN_REV=$(PKG_REV) \
45 CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \
46 LDFLAGS="$(TARGET_LDFLAGS)"
47
48 define Build/Configure
49 (cd $(PKG_BUILD_DIR); ./autogen.sh)
50 $(call Build/Configure/Default)
51 endef
52
53 define Package/faifa/install
54 $(INSTALL_DIR) $(1)/usr/bin
55 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/faifa $(1)/usr/bin/
56 endef
57
58 $(eval $(call BuildPackage,faifa))