Makefile 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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:= gnutls
  5. PKG_VERSION:= 2.8.5
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= e3b2788b79bfc82acbe717e3c54d4e92
  8. PKG_DESCR:= GNU TLS library
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libgcrypt libtasn1 zlib
  11. PKG_URL:= http://www.gnu.org/software/gnutls
  12. PKG_SITES:= ${MASTER_SITE_GNU:=gnutls/}
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,LIBGNUTLS,libgnutls,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. $(eval $(call PKG_template,GNUTLS_UTILS,gnutls-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. $(eval $(call PKG_template,LIBGNUTLS_EXTRA,libgnutls-extra,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. $(eval $(call PKG_template,LIBGNUTLS_OPENSSL,libgnutls-openssl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIGURE_STYLE:= gnu
  20. CONFIGURE_ARGS+= --without-libopencdk-prefix \
  21. --disable-camellia \
  22. --with-libgcrypt-prefix=${STAGING_DIR}/usr \
  23. --without-libz-prefix
  24. BUILD_STYLE:= auto
  25. INSTALL_STYLE:= auto
  26. post-install:
  27. ${INSTALL_DIR} ${IDIR_LIBGNUTLS}/usr/lib
  28. ${CP} ${WRKINST}/usr/lib/libgnutls.so.* ${IDIR_LIBGNUTLS}/usr/lib
  29. ${INSTALL_DIR} ${IDIR_LIBGNUTLS_EXTRA}/usr/lib
  30. ${CP} ${WRKINST}/usr/lib/libgnutls-extra.so.* ${IDIR_LIBGNUTLS_EXTRA}/usr/lib
  31. ${INSTALL_DIR} ${IDIR_LIBGNUTLS_OPENSSL}/usr/lib
  32. ${CP} ${WRKINST}/usr/lib/libgnutls-openssl.so.* ${IDIR_LIBGNUTLS_OPENSSL}/usr/lib
  33. ${INSTALL_DIR} ${IDIR_GNUTLS_UTILS}/usr/bin
  34. ${CP} ${WRKINST}/usr/bin/{{cert,srp,psk}tool,gnutls-{cli,serv}} \
  35. ${IDIR_GNUTLS_UTILS}/usr/bin
  36. include ${TOPDIR}/mk/pkg-bottom.mk