2011-02-13 01:45:01 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=librpc
|
2015-11-04 18:33:12 +00:00
|
|
|
PKG_VERSION:=2015-11-04
|
2011-02-13 19:09:48 +00:00
|
|
|
PKG_RELEASE=$(PKG_SOURCE_VERSION)
|
2011-02-13 01:45:01 +00:00
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
2016-06-06 19:16:47 +00:00
|
|
|
PKG_SOURCE_URL=$(LEDE_GIT)/project/librpc-uclibc.git
|
2011-02-13 01:45:01 +00:00
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
2015-11-04 18:33:12 +00:00
|
|
|
PKG_SOURCE_VERSION:=a921e3ded051746f9f7cd5e5a312fb6771716aac
|
2016-10-04 12:28:54 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
|
2016-12-16 16:32:10 +00:00
|
|
|
PKG_MIRROR_HASH:=d8da52536d34c6116ac8c261cbfc5999ae48b88e304ebf24a8cb14a43e53a3d9
|
2012-06-08 15:10:18 +00:00
|
|
|
CMAKE_INSTALL:=1
|
2013-08-14 14:29:15 +00:00
|
|
|
PKG_USE_MIPS16:=0
|
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
|
|
|
|
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
|
|
|
|
|
|
|
$(eval $(call BuildPackage,librpc))
|