Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= d77eb15f464bf9d6e66259eaf78b2a4e
  8. PKG_DESCR:= a transport independent RPC library
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libgssglue
  11. PKG_BUILDDEP:= 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. PKG_SUBPKGS:= LIBTIRPC LIBTIRPC_DEV
  16. PKGSD_LIBTIRPC_DEV:= tirpc headers
  17. PKGSC_LIBTIRPC_DEV:= devel
  18. include ${TOPDIR}/mk/package.mk
  19. $(eval $(call PKG_template,LIBTIRPC,libtirpc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. $(eval $(call PKG_template,LIBTIRPC_DEV,libtirpc-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBTIRPC_DEV},${PKGSC_LIBTIRPC_DEV}))
  21. ifneq (${ADK_PACKAGE_NFS_UTILS_WITH_KERBEROS},y)
  22. CONFIGURE_ARGS+= --disable-gss
  23. else
  24. CONFIGURE_ARGS+= --enable-gss
  25. endif
  26. libtirpc-install:
  27. ${INSTALL_DIR} ${IDIR_LIBTIRPC}/usr/lib ${IDIR_LIBTIRPC}/etc
  28. ${CP} ${WRKINST}/usr/lib/libtirpc*.so* ${IDIR_LIBTIRPC}/usr/lib/
  29. ${CP} ./files/netconfig ${IDIR_LIBTIRPC}/etc
  30. libtirpc-dev-install:
  31. ${INSTALL_DIR} ${IDIR_LIBTIRPC_DEV}/usr/include
  32. ${CP} ${WRKINST}/usr/include/* ${IDIR_LIBTIRPC_DEV}/usr/include
  33. include ${TOPDIR}/mk/pkg-bottom.mk