1
0

Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= b3b513a8825aa227deac63ea38c64f41
  8. PKG_DESCR:= a transport independent RPC library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://sourceforge.net/projects/libtirpc
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=libtirpc/}
  12. DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
  13. include ${TOPDIR}/mk/package.mk
  14. ifeq (${ADK_IPV6},y)
  15. PKG_DEPENDS+= libgssglue
  16. endif
  17. $(eval $(call PKG_template,LIBTIRPC,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIGURE_STYLE:= autotool gnu
  19. ifneq (${ADK_COMPILE_NFS_UTILS_WITH_KERBEROS},y)
  20. ifneq (${ADK_IPV6},y)
  21. CONFIGURE_ARGS+= --disable-gss
  22. else
  23. CONFIGURE_ARGS+= --enable-gss
  24. endif
  25. endif
  26. BUILD_STYLE:= auto
  27. INSTALL_STYLE:= auto
  28. post-install:
  29. ${INSTALL_DIR} ${IDIR_LIBTIRPC}/usr/lib ${IDIR_LIBTIRPC}/etc
  30. ${CP} ${WRKINST}/usr/lib/libtirpc*.so* ${IDIR_LIBTIRPC}/usr/lib/
  31. ${CP} ./files/netconfig ${IDIR_LIBTIRPC}/etc
  32. include ${TOPDIR}/mk/pkg-bottom.mk