librpc: update to the latest version, fixes musl compatibility issues (#19445)
[openwrt/svn-archive/archive.git] / package / libs / librpc / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=librpc
4 PKG_VERSION:=2015-04-10
5 PKG_RELEASE=$(PKG_SOURCE_VERSION)
6
7 PKG_SOURCE_PROTO:=git
8 PKG_SOURCE_URL:=git://nbd.name/uclibc-rpc.git
9 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
10 PKG_SOURCE_VERSION:=308e9964bfb623773dc0dcc99ef9d18d1551d6ae
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
12 CMAKE_INSTALL:=1
13 PKG_USE_MIPS16:=0
14
15 PKG_LICENSE:=LGPL-2.1
16 PKG_LICENSE_FILES:=
17
18 PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
19
20 include $(INCLUDE_DIR)/package.mk
21 include $(INCLUDE_DIR)/cmake.mk
22
23 define Package/librpc
24 SECTION:=libs
25 CATEGORY:=Libraries
26 TITLE:=uClibc RPC library
27 endef
28
29 define Package/librpc/install
30 $(INSTALL_DIR) $(1)/lib/
31 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/librpc.so $(1)/lib/
32 endef
33
34 $(eval $(call BuildPackage,librpc))