1
0

Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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:= ca-certificates
  5. PKG_VERSION:= 20090814
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 307052c985bec7f9a00eb84293eef779
  8. PKG_DESCR:= Collection of common CA certificates
  9. PKG_SECTION:= net/security
  10. PKG_DEPENDS:= openssl-util libopenssl
  11. PKG_URL:= http://packages.debian.org/sid/ca-certificates
  12. PKG_SITES:= http://ftp.debian.org/debian/pool/main/c/ca-certificates/
  13. DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz
  14. PKG_FLAVOURS_CA_CERTS:= SMALL
  15. PKGFD_SMALL:= Minimal set of CA certificates
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,CA_CERTS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIG_STYLE:= manual
  19. post-install:
  20. ifeq (${ADK_PACKAGE_CA_CERTS_SMALL},n)
  21. $(INSTALL_DIR) $(IDIR_CA_CERTS)/{etc/ssl/certs,usr/share,usr/sbin}
  22. $(CP) $(WRKINST)/usr/share/ca-certificates $(IDIR_CA_CERTS)/usr/share/
  23. ( cd ${IDIR_CA_CERTS}/usr/share/ca-certificates && \
  24. ls */*.crt >${IDIR_CA_CERTS}/etc/ca-certificates.conf \
  25. )
  26. ${INSTALL_BIN} ./extra/update-ca-certificates ${IDIR_CA_CERTS}/usr/sbin/
  27. -DESTDIR=${IDIR_CA_CERTS} ${BASH} ./extra/update-ca-certificates
  28. else
  29. ${INSTALL_DIR} ${IDIR_CA_CERTS}/etc/ssl
  30. ${INSTALL_DATA} ./cert.pem ${IDIR_CA_CERTS}/etc/ssl/
  31. endif
  32. include ${TOPDIR}/mk/pkg-bottom.mk