Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  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:= opencdk
  5. PKG_VERSION:= 0.6.4
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= libgcrypt libgpg-error zlib
  8. PKG_MD5SUM:= 7bfc820bcdc08f0c31f860710368071e
  9. PKG_DESCR:= Open Crypto Development Kit library
  10. PKG_SECTION:= libs
  11. PKG_DEPENDS:= libgcrypt libgpg-error zlib
  12. PKG_URL:= http://www.gnu.org/software/gnutls/download.html
  13. PKG_SITES:= ftp://ftp.gnutls.org/pub/gnutls/opencdk/ \
  14. ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/opencdk/ \
  15. http://www.mirrors.wiretapped.net/security/network-security/gnutls/opencdk/ \
  16. ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/gnutls/opencdk/ \
  17. http://josefsson.org/gnutls/releases/opencdk/
  18. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  19. include ${TOPDIR}/mk/package.mk
  20. $(eval $(call PKG_template,LIBOPENCDK,libopencdk,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  21. CONFIGURE_STYLE:= gnu
  22. CONFIGURE_ARGS+= --with-libgcrypt-prefix='${STAGING_DIR}/usr'
  23. BUILD_STYLE:= auto
  24. INSTALL_STYLE:= auto
  25. post-install:
  26. ${INSTALL_DIR} ${IDIR_LIBOPENCDK}/usr/lib
  27. ${CP} ${WRKINST}/usr/lib/libopencdk.so.* ${IDIR_LIBOPENCDK}/usr/lib
  28. include ${TOPDIR}/mk/pkg-bottom.mk