#
# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=iodine
PKG_VERSION:=0.6.0-rc1
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://code.kryo.se/iodine/


PKG_INSTALL:=1

include $(INCLUDE_DIR)/package.mk

define Package/iodine
  SECTION:=net
  CATEGORY:=Network
  TITLE:=Iodine DNS tunnel server
  DEPENDS:=+libzlib
  URL:=http://code.kryo.se/iodine/
endef



define Package/iodine/install
	$(INSTALL_DIR) $(1)/usr/sbin
	$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/iodined $(1)/usr/sbin/
endef


$(eval $(call BuildPackage,iodine))
