packages: add missing conffiles define
[openwrt/svn-archive/archive.git] / utils / hd-idle / Makefile
index 0543687..25fb32e 100644 (file)
@@ -1,23 +1,19 @@
 #
-# Copyright (C) 2008 OpenWrt.org
+# Copyright (C) 2008-2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
 
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=hd-idle
-PKG_REV:=HEAD
-PKG_VERSION:=$(PKG_REV)
-PKG_RELEASE:=1
+PKG_VERSION:=1.03
+PKG_RELEASE:=4
 
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=:pserver:anonymous@hd-idle.cvs.sourceforge.net:/cvsroot/hd-idle
-PKG_SOURCE_SUBDIR:=$(PKG_NAME)
-PKG_SOURCE_VERSION:=$(PKG_REV)
-PKG_SOURCE_PROTO:=cvs
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
+PKG_SOURCE_URL:=@SF/$(PKG_NAME)
+PKG_MD5SUM:=049d6e6fc703a7e0474bdd9c24e6de77
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
 
@@ -28,10 +24,11 @@ define Package/hd-idle
   CATEGORY:=Utilities
   TITLE:=Another idle-daemon for attached hard drives
   SUBMENU:=disc
+  URL:=http://hd-idle.sourceforge.net/
 endef
 
 define Build/Compile
-        $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/$(PKG_NAME) $(PKG_BUILD_DIR)/$(PKG_NAME).c
+       $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/$(PKG_NAME) $(PKG_BUILD_DIR)/$(PKG_NAME).c
 endef
 
 define Package/hd-idle/install
@@ -43,4 +40,8 @@ define Package/hd-idle/install
        $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
 endef
 
+define Package/hd-idle/conffiles
+/etc/config/hd-idle
+endef
+
 $(eval $(call BuildPackage,hd-idle))