alsa-lib: allow to build for noMMU targets, patches from Buildroot
[openadk.git] / package / rpcbind / Makefile
blob252d046cac77c5366645e71d014120d4c9985d63
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= rpcbind
7 PKG_VERSION:= 0.2.3
8 PKG_RELEASE:= 2
9 PKG_HASH:= 9897823a9d820ea011d9ea02054d5ab99469b9ca5346265fee380713c8fed27b
10 PKG_DESCR:= converts rpc program numbers into universal addresses
11 PKG_SECTION:= net/misc
12 PKG_DEPENDS:= libtirpc
13 PKG_BUILDDEP:= libtirpc
14 PKG_URL:= http://sourceforge.net/projects/rpcbind/
15 PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=rpcbind/}
17 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call PKG_template,RPCBIND,rpcbind,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 TARGET_CPPFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/tirpc
24 CONFIGURE_ARGS+= --disable-libwrap \
25 --without-systemdsystemunitdir \
26 --with-rpcuser=root
28 rpcbind-install:
29 $(INSTALL_DIR) $(IDIR_RPCBIND)/usr/bin
30 $(INSTALL_BIN) $(WRKINST)/usr/bin/rpcbind \
31 $(IDIR_RPCBIND)/usr/bin
32 $(INSTALL_BIN) $(WRKINST)/usr/bin/rpcinfo \
33 $(IDIR_RPCBIND)/usr/bin
35 include ${ADK_TOPDIR}/mk/pkg-bottom.mk