Makefile 807 B

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