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