add librpc, an externally build version of the uclibc rpc support
[openwrt/staging/lynxis/omap.git] / package / librpc / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=librpc
4 PKG_VERSION:=0.9.32-rc2
5 PKG_RELEASE:=1
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:=49f63f433ddd1fb7ad1e450094b82aacaa3b0a7d
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
12 CMAKE_INSTALL:=1
13
14 include $(INCLUDE_DIR)/package.mk
15 include $(INCLUDE_DIR)/cmake.mk
16
17 define Package/librpc
18 SECTION:=libs
19 CATEGORY:=Libraries
20 TITLE:=uClibc RPC library
21 DEPENDS:=@USE_UCLIBC
22 endef
23
24 define Package/librpc/install
25 $(INSTALL_DIR) $(1)/lib/
26 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/librpc.so $(1)/lib/
27 endef
28
29 $(eval $(call BuildPackage,librpc))