Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= opencdk
  7. PKG_VERSION:= 0.6.4
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 7bfc820bcdc08f0c31f860710368071e
  10. PKG_DESCR:= Open Crypto Development Kit library
  11. PKG_SECTION:= libs
  12. PKG_DEPENDS:= libgcrypt libgpg-error zlib
  13. PKG_URL:= http://www.gnu.org/software/gnutls/download.html
  14. PKG_SITES:= ftp://ftp.gnutls.org/pub/gnutls/opencdk/ \
  15. ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/opencdk/ \
  16. http://www.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \
  17. ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/gnutls/opencdk/ \
  18. http://josefsson.org/gnutls/releases/opencdk/
  19. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  20. include ${TOPDIR}/mk/package.mk
  21. $(eval $(call PKG_template,LIBOPENCDK,libopencdk,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  22. CONFIGURE_STYLE:= gnu
  23. CONFIGURE_ARGS+= --with-libgcrypt-prefix='${STAGING_DIR}/usr'
  24. BUILD_STYLE:= auto
  25. INSTALL_STYLE:= auto
  26. post-install:
  27. ${INSTALL_DIR} ${IDIR_LIBOPENCDK}/usr/lib
  28. ${CP} ${WRKINST}/usr/lib/libopencdk.so.* ${IDIR_LIBOPENCDK}/usr/lib
  29. include ${TOPDIR}/mk/pkg-bottom.mk