Makefile 1.1 KB

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