# 
# Copyright (C) 2006 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# $Id: Makefile,v 1.1.2.3 2007/03/11 05:08:58 agui Exp $

include $(TOPDIR)/rules.mk

PKG_NAME:=dnipot
PKG_RELEASE:=4

GIT_HOME_NAME:=pot

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


include $(INCLUDE_DIR)/package.mk

define Package/dnipot
  SECTION:=net
  CATEGORY:=DNI
  SUBMENU:=dni_app
  DEPENDS:=+dnilibmtd +libjson-c +lib-dni-common-api
  TITLE:=DNIPOT
endef

EXTRA_LDFLAGS += -ldni-common-api -DNTGR_POT_ON


define Build/Prepare
	mkdir -p $(PKG_BUILD_DIR)
endef

define Build/Compile
endef

define Package/dnipot/install
	echo 'install dni binary ipk modules'
endef

$(eval $(call BuildPackage,dnipot))
