Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= rpcbind
  5. PKG_VERSION:= 1.2.8
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 964132c389918e8964d7334936b6dd10ef025b300c6b29e693ba0f29550e3de5
  8. PKG_DESCR:= converts rpc program numbers into universal addresses
  9. PKG_SECTION:= net/misc
  10. PKG_DEPENDS:= libtirpc
  11. PKG_BUILDDEP:= libtirpc
  12. PKG_URL:= http://sourceforge.net/projects/rpcbind/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=rpcbind/}
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,RPCBIND,rpcbind,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. TARGET_CPPFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/tirpc
  18. CONFIGURE_ARGS+= --disable-libwrap \
  19. --without-systemdsystemunitdir \
  20. --with-rpcuser=root
  21. rpcbind-install:
  22. $(INSTALL_DIR) $(IDIR_RPCBIND)/usr/bin
  23. $(INSTALL_DIR) $(IDIR_RPCBIND)/usr/sbin
  24. $(INSTALL_BIN) $(WRKINST)/usr/sbin/rpcbind \
  25. $(IDIR_RPCBIND)/usr/sbin
  26. $(INSTALL_BIN) $(WRKINST)/usr/bin/rpcinfo \
  27. $(IDIR_RPCBIND)/usr/bin
  28. include ${ADK_TOPDIR}/mk/pkg-bottom.mk