1
0

Makefile 1.4 KB

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