Makefile 756 B

123456789101112131415161718192021222324252627282930313233
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=librpc
  3. PKG_RELEASE=1
  4. PKG_SOURCE_PROTO:=git
  5. PKG_SOURCE_URL=$(LEDE_GIT)/project/librpc-uclibc.git
  6. PKG_SOURCE_DATE:=2015-11-04
  7. PKG_SOURCE_VERSION:=a921e3ded051746f9f7cd5e5a312fb6771716aac
  8. PKG_MIRROR_HASH:=22c8dc55e1c4e8e31635a37708a3ce622a6ca33ebd918a4321b0be6ffce89b21
  9. CMAKE_INSTALL:=1
  10. PKG_USE_MIPS16:=0
  11. PKG_LICENSE:=LGPL-2.1
  12. PKG_LICENSE_FILES:=
  13. PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
  14. include $(INCLUDE_DIR)/package.mk
  15. include $(INCLUDE_DIR)/cmake.mk
  16. define Package/librpc
  17. SECTION:=libs
  18. CATEGORY:=Libraries
  19. TITLE:=uClibc RPC library
  20. endef
  21. define Package/librpc/install
  22. $(INSTALL_DIR) $(1)/lib/
  23. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/librpc.so $(1)/lib/
  24. endef
  25. $(eval $(call BuildPackage,librpc))