Makefile 966 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Copyright (C) 2016 LEDE project
  2. include $(TOPDIR)/rules.mk
  3. PKG_NAME:=openwrt-keyring
  4. PKG_RELEASE:=1
  5. PKG_SOURCE_PROTO:=git
  6. PKG_SOURCE_URL=$(PROJECT_GIT)/keyring.git
  7. PKG_SOURCE_DATE:=2018-05-18
  8. PKG_SOURCE_VERSION:=103a32e9f52fd35a428dc08ddbca86fe41dfb918
  9. PKG_MIRROR_HASH:=58f42796396fee0e4f008d6f5a970a421d023d6c98e71bf53c2778734fa3480b
  10. PKG_MAINTAINER:=John Crispin <john@phrozen.org>
  11. PKG_LICENSE:=GPL-2.0
  12. include $(INCLUDE_DIR)/package.mk
  13. define Package/openwrt-keyring
  14. SECTION:=base
  15. CATEGORY:=Base system
  16. PROVIDES:=lede-keyring
  17. TITLE:=libreCMC Developer Keyring
  18. URL:=https://openwrt.org/docs/guide-user/security/signatures
  19. endef
  20. define Package/openwrt-keyring/description
  21. The keyring of with the developer using and gpg public keys.
  22. endef
  23. Build/Compile=
  24. define Package/openwrt-keyring/install
  25. $(INSTALL_DIR) $(1)/etc/opkg/keys/
  26. $(INSTALL_DATA) $(PKG_BUILD_DIR)/usign/* $(1)/etc/opkg/keys/
  27. endef
  28. $(eval $(call BuildPackage,openwrt-keyring))