# Copyright (C) 2011 Fundació Privada per a la Xarxa Oberta, Lliure i Neutral guifi.net # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # # The full GNU General Public License is included in this distribution in # the file called "COPYING". include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=qmp-small-node PKG_RELEASE:=1 #PKG_SOURCE_URL:=@SF/qmp-small-node #PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) include $(INCLUDE_DIR)/package.mk define Package/qmp-small-node SECTION:=net CATEGORY:=Base system TITLE:=Required addons for small qmp mesh nodes ( 4MByte ) URL:=http://qmp.cat DEPENDS:= \ +uhttpd +luci +luci-lib-nixio \ +luci-ssl \ +iputils-arping +iputils-clockdiff +iputils-ping +iputils-tracepath \ +ahcpd \ +radvd \ +hostapd \ +wireless-tools +iw \ +wide-dhcpv6-client +wide-dhcpv6-control +wide-dhcpv6-server \ +bmx6-qmp +bmx6-qmp-uci-config +bmx6-qmp-json +bmx6-qmp-sms +bmx6-luci \ +olsrd +olsrd-mod-txtinfo +olsrd-mod-httpinfo +olsrd-mod-watchdog \ +olsrd-mod-arprefresh +olsrd-luci \ +luci-i18n-catalan +luci-i18n-spanish +luci-i18n-french \ +babeld \ +ip \ +ndisc6 +rdisc6 +rdnssd \ +6in4 +6to4 \ +ip6tables +ip6tables-utils \ +kmod-niit \ +kmod-ipip \ +kmod-ip6-tunnel +kmod-iptunnel6 \ +kmod-tun \ +kmod-madwifi \ +kmod-ath9k \ +kmod-ath5k endef define Package/qmp-small-node/description Addons for small qmp nodes (4MByte flash) endef define Package/qmp-small-node/conffiles /etc/config/qmp endef define Build/Prepare mkdir -p $(PKG_BUILD_DIR) endef define Build/Configure endef define Build/Compile endef define Package/qmp-small-node/install $(CP) ./files/* $(1)/ chmod 755 $(1)/etc/init.d/qmp_autoconf endef $(eval $(call BuildPackage,qmp-small-node))