1
0

Makefile 1023 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Copyright (C) 2016 LEDE project
  2. include $(TOPDIR)/rules.mk
  3. PKG_NAME:=lede-keyring
  4. PKG_VERSION:=2016-04-30
  5. PKG_RELEASE=$(PKG_SOURCE_VERSION)
  6. PKG_SOURCE_PROTO:=git
  7. PKG_SOURCE_URL=$(LEDE_GIT)/keyring.git
  8. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  9. PKG_SOURCE_VERSION:=5c7857eed3fa06a9005f96b9b029388c7f316e83
  10. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
  11. PKG_MIRROR_MD5SUM:=c5997bf1505042c857d5e19fec497c6516cc1d9e07fc19ff4c5b1a33da3cdf29
  12. PKG_MAINTAINER:=John Crispin <john@phrozen.org>
  13. PKG_LICENSE:=GPL-2.0
  14. include $(INCLUDE_DIR)/package.mk
  15. define Package/lede-keyring
  16. SECTION:=base
  17. CATEGORY:=Base system
  18. TITLE:=LEDE Developer Keyring
  19. URL:=http://www.lede-project.org
  20. endef
  21. define Package/lede-keyring/description
  22. The keyring of with the developer using and gpg public keys.
  23. endef
  24. Build/Compile=
  25. define Package/lede-keyring/install
  26. $(INSTALL_DIR) $(1)/etc/opkg/keys/
  27. $(INSTALL_DATA) $(PKG_BUILD_DIR)/usign/* $(1)/etc/opkg/keys/
  28. endef
  29. $(eval $(call BuildPackage,lede-keyring))