[package] uboot-ar71xx: fix compilation on FreeBSD
[openwrt.git] / package / librpc / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=librpc
4 PKG_VERSION:=0.9.32-rc2
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:=49f63f433ddd1fb7ad1e450094b82aacaa3b0a7d
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
12 ifdef CONFIG_USE_UCLIBC
13 CMAKE_INSTALL:=1
14 endif
15
16 include $(INCLUDE_DIR)/package.mk
17 include $(INCLUDE_DIR)/cmake.mk
18
19 define Package/librpc
20 SECTION:=libs
21 CATEGORY:=Libraries
22 TITLE:=uClibc RPC library
23 DEPENDS:=@USE_UCLIBC
24 endef
25
26 ifdef CONFIG_USE_UCLIBC
27 define Package/librpc/install
28 $(INSTALL_DIR) $(1)/lib/
29 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/librpc.so $(1)/lib/
30 endef
31 endif
32
33 $(eval $(call BuildPackage,librpc))
This page took 0.038433 seconds and 5 git commands to generate.