Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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:= 0.2.2
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 13dbc8c796dbe0ce8df873007bea0490c8460b56202d918c9eb6fa0358a08f29
  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_BIN) $(WRKINST)/usr/bin/rpcbind \
  24. $(IDIR_RPCBIND)/usr/bin
  25. $(INSTALL_BIN) $(WRKINST)/usr/bin/rpcinfo \
  26. $(IDIR_RPCBIND)/usr/bin
  27. include ${ADK_TOPDIR}/mk/pkg-bottom.mk