Makefile 1.1 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:= 0.2.1
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= da169ff877a5a07581fad50a9a808ac6e96f0c277a3df49a7ef005778428496e
  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. PKG_LIBC_DEPENDS:= uclibc-ng uclibc glibc
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,RPCBIND,rpcbind,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. TARGET_CPPFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/tirpc
  19. CONFIGURE_ARGS+= --disable-libwrap \
  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