Upgrade iodine
[openwrt/svn-archive/archive.git] / net / iodine / Makefile
index 46f33cf..e37c8a6 100644 (file)
@@ -9,12 +9,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=iodine
-PKG_VERSION:=0.3.4
+PKG_VERSION:=0.4.0
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://code.kryo.se/iodine/
-PKG_MD5SUM:=dfbc5037fe0229e15f6f15775117aef5
+PKG_MD5SUM:=82d331f75a99d1547e0ccc3c3efd0a7a
 PKG_CAT:=zcat
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
@@ -51,18 +51,18 @@ define Build/Compile
        $(call Build/Compile/Default,\
                CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -c -DLINUX" \
                LDFLAGS="-L$(STAGING_DIR)/usr/lib -lz" \
-               iodine iodined \
+               all \
        )
 endef
 
 define Package/iodine/install
        $(INSTALL_DIR) $(1)/usr/sbin
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/iodine $(1)/usr/sbin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/iodine $(1)/usr/sbin
 endef
 
 define Package/iodined/install
        $(INSTALL_DIR) $(1)/usr/sbin
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/iodined $(1)/usr/sbin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/iodined $(1)/usr/sbin
 endef
 
 $(eval $(call BuildPackage,iodine))