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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= rpcbind
  5. PKG_VERSION:= 0.2.0
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 1a77ddb1aaea8099ab19c351eeb26316
  8. PKG_DESCR:= converts RPC program numbers into universal addresses
  9. PKG_SECTION:= net/misc
  10. PKG_DEPENDS:= libtirpc
  11. PKG_BUILDDEP:= libtirpc autotool
  12. PKG_URL:= http://sourceforge.net/projects/rpcbind/
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=rpcbind/}
  14. PKG_LIBC_DEPENDS:= uclibc eglibc glibc
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,RPCBIND,rpcbind,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. AUTOTOOL_STYLE:= autoreconf
  19. TARGET_CPPFLAGS+= -I${STAGING_TARGET_DIR}/usr/include/tirpc
  20. CONFIGURE_ARGS+= --disable-libwrap
  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 ${TOPDIR}/mk/pkg-bottom.mk