2011-02-13 01:45:01 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=librpc
|
2016-12-21 21:25:41 +00:00
|
|
|
PKG_RELEASE=1
|
2011-02-13 01:45:01 +00:00
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
2018-01-05 09:46:06 +00:00
|
|
|
PKG_SOURCE_URL=$(PROJECT_GIT)/project/librpc-uclibc.git
|
2016-12-21 21:25:41 +00:00
|
|
|
PKG_SOURCE_DATE:=2015-11-04
|
2015-11-04 18:33:12 +00:00
|
|
|
PKG_SOURCE_VERSION:=a921e3ded051746f9f7cd5e5a312fb6771716aac
|
2016-12-21 21:25:41 +00:00
|
|
|
PKG_MIRROR_HASH:=22c8dc55e1c4e8e31635a37708a3ce622a6ca33ebd918a4321b0be6ffce89b21
|
2012-06-08 15:10:18 +00:00
|
|
|
CMAKE_INSTALL:=1
|
2013-08-14 14:29:15 +00:00
|
|
|
PKG_USE_MIPS16:=0
|
2018-07-03 06:54:41 +00:00
|
|
|
PKG_BUILD_DEPENDS:=librpc/host
|
2011-02-13 01:45:01 +00:00
|
|
|
|
2014-11-03 09:56:44 +00:00
|
|
|
PKG_LICENSE:=LGPL-2.1
|
2012-10-19 15:34:28 +00:00
|
|
|
PKG_LICENSE_FILES:=
|
|
|
|
|
2016-06-07 06:58:31 +00:00
|
|
|
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
|
2012-10-08 11:41:02 +00:00
|
|
|
|
2011-02-13 01:45:01 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2018-07-03 06:54:41 +00:00
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
2011-02-13 01:45:01 +00:00
|
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
|
|
|
|
define Package/librpc
|
|
|
|
SECTION:=libs
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
TITLE:=uClibc RPC library
|
|
|
|
endef
|
|
|
|
|
2012-06-08 15:10:18 +00:00
|
|
|
define Package/librpc/install
|
2011-02-13 01:45:01 +00:00
|
|
|
$(INSTALL_DIR) $(1)/lib/
|
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/librpc.so $(1)/lib/
|
2012-06-08 15:10:18 +00:00
|
|
|
endef
|
2011-02-13 01:45:01 +00:00
|
|
|
|
2018-07-03 06:54:41 +00:00
|
|
|
define Host/Install
|
|
|
|
$(INSTALL_DIR) $(STAGING_DIR_HOSTPKG)/include/rpc
|
|
|
|
$(INSTALL_DATA) $(HOST_BUILD_DIR)/rpc/types.h $(STAGING_DIR_HOSTPKG)/include/rpc
|
|
|
|
$(INSTALL_DATA) $(HOST_BUILD_DIR)/rpc/compat.h $(STAGING_DIR_HOSTPKG)/include/rpc
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|
2011-02-13 01:45:01 +00:00
|
|
|
$(eval $(call BuildPackage,librpc))
|