Pārlūkot izejas kodu

autoupdater: fix Makefile

Nils Schneider 10 gadi atpakaļ
vecāks
revīzija
91d70b98c7
1 mainītis faili ar 7 papildinājumiem un 6 dzēšanām
  1. 7 6
      package/gluon-autoupdater/Makefile

+ 7 - 6
package/gluon-autoupdater/Makefile

@@ -1,15 +1,16 @@
 include $(TOPDIR)/rules.mk
 
-PKG_NAME:=autoupdater
+PKG_NAME:=gluon-autoupdater
+PKG_VERSION:=0.3.2.99
 PKG_RELEASE:=0.1
 
 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
 
 include $(INCLUDE_DIR)/package.mk
 
-define Package/autoupdater
-  SECTION:=admin
-  CATEGORY:=Administration
+define Package/gluon-autoupdater
+  SECTION:=gluon
+  CATEGORY:=Gluon
   DEPENDS:=+ecdsautils +gluon-cron
   TITLE:=Automatically update firmware
 endef
@@ -24,9 +25,9 @@ endef
 define Build/Compile
 endef
 
-define Package/autoupdater/install
+define Package/gluon-autoupdater/install
 	$(CP) ./files/* $(1)/
 	chmod +x $(1)/usr/sbin/autoupdate
 endef
 
-$(eval $(call BuildPackage,autoupdater))
+$(eval $(call BuildPackage,gluon-autoupdater))