include $(TOPDIR)/rules.mk

PKG_NAME:=fff-hoods
PKG_VERSION:=5
PKG_RELEASE:=1

PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)

include $(INCLUDE_DIR)/package.mk

define Package/$(PKG_NAME)
	SECTION:=base
	CATEGORY:=Freifunk
	TITLE:= Freifunk-Franken hoods
	URL:=http://www.freifunk-franken.de
	DEPENDS:=+fff-hoodutils +fff-macnock +fff-vpn-select +fff-firewall
endef

define Package/$(PKG_NAME)/description
	This package load and configures the current hood
endef

define Build/Prepare
	echo "all: " > $(PKG_BUILD_DIR)/Makefile
endef

define Build/Configure
	# nothing
endef

define Build/Compile
	# nothing
endef

define Package/$(PKG_NAME)/install
	$(CP) ./files/* $(1)/
endef

$(eval $(call BuildPackage,$(PKG_NAME)))
