Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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:= libtirpc
  5. PKG_VERSION:= 0.2.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 847995e8d002cbf1387bda05947be086
  8. PKG_DESCR:= transport independent RPC library
  9. PKG_SECTION:= libs
  10. PKG_BUILDDEP:= autotool
  11. PKG_URL:= http://sourceforge.net/projects/libtirpc/
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libtirpc/}
  13. PKG_OPTS:= dev
  14. PKG_FLAVOURS_LIBTIRPC:= WITH_IPV6 WITH_GSS
  15. PKGFD_WITH_IPV6:= enable IPv6 support
  16. PKGFD_WITH_GSS:= enable GSS support
  17. PKGFB_WITH_GSS:= libgssglue krb5
  18. PKGFS_WITH_GSS:= libgssglue
  19. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
  20. include ${TOPDIR}/mk/package.mk
  21. $(eval $(call PKG_template,LIBTIRPC,libtirpc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  22. AUTOTOOL_STYLE:= autoreconf
  23. ifeq (${ADK_PACKAGE_LIBTIRPC_WITH_GSS},y)
  24. CONFIGURE_ARGS+= --enable-gssapi
  25. else
  26. CONFIGURE_ARGS+= --disable-gssapi
  27. endif
  28. ifeq (${ADK_PACKAGE_LIBTIRPC_WITH_IPV6},y)
  29. CONFIGURE_ARGS+= --enable-ipv6
  30. CFG:= .ipv6
  31. else
  32. CONFIGURE_ARGS+= --disable-ipv6
  33. endif
  34. libtirpc-install:
  35. ${INSTALL_DIR} ${IDIR_LIBTIRPC}/usr/lib ${IDIR_LIBTIRPC}/etc
  36. ${CP} ${WRKINST}/usr/lib/libtirpc*.so* ${IDIR_LIBTIRPC}/usr/lib/
  37. ${CP} ./files/netconfig$(CFG) ${IDIR_LIBTIRPC}/etc/netconfig
  38. include ${TOPDIR}/mk/pkg-bottom.mk