You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
987 B

  1. # This is free software, licensed under the GNU General Public License v2.
  2. # See /LICENSE for more information.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=rpcd-mod-packagelist
  6. PKG_VERSION:=0.1
  7. PKG_RELEASE:=1
  8. PKG_LICENSE:=GPL-2.0
  9. include $(INCLUDE_DIR)/package.mk
  10. define Package/rpcd-mod-packagelist
  11. SECTION:=utils
  12. CATEGORY:=Base system
  13. TITLE:=ubus packagelist
  14. MAINTAINER:=Paul Spooren <paul@spooren.de>
  15. DEPENDS:=rpcd @!CLEAN_IPKG
  16. endef
  17. define Package/rpcd-mod-packagelist/description
  18. add ubus call to receive user installed packages without the need of opkg installed
  19. endef
  20. define Build/Compile
  21. endef
  22. define Build/Configure
  23. endef
  24. define Package/rpcd-mod-packagelist/install
  25. $(INSTALL_DIR) $(1)/usr/share/rpcd/acl.d/
  26. $(INSTALL_BIN) ./files/packagelist.acl $(1)/usr/share/rpcd/acl.d/packagelist.json
  27. $(INSTALL_DIR) $(1)/usr/libexec/rpcd/
  28. $(INSTALL_BIN) ./files/packagelist.rpcd $(1)/usr/libexec/rpcd/packagelist
  29. endef
  30. $(eval $(call BuildPackage,rpcd-mod-packagelist))