Makefile 1.5 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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= ca-certificates
  5. PKG_VERSION:= 20090814
  6. PKG_RELEASE:= 3
  7. PKG_HASH:= 6924fafc35dd020da99bc86842f95f2a97a3a5ff084b0635eea815fe2777fc7c
  8. PKG_DESCR:= collection of common ca certificates
  9. PKG_SECTION:= app/crypto
  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 $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,CA_CERTIFICATES,ca-certificates,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},force_etc))
  18. CONFIG_STYLE:= manual
  19. post-install:
  20. ifeq (${ADK_PACKAGE_CA_CERTIFICATES_SMALL},y)
  21. ${INSTALL_DIR} ${IDIR_CA_CERTIFICATES}/etc/ssl
  22. ${INSTALL_DATA} ./extra/cert.pem ${IDIR_CA_CERTIFICATES}/etc/ssl/
  23. else
  24. $(INSTALL_DIR) $(IDIR_CA_CERTIFICATES)/{etc/ssl/certs,usr/share,usr/sbin}
  25. $(CP) $(WRKINST)/usr/share/ca-certificates $(IDIR_CA_CERTIFICATES)/usr/share/
  26. ( cd ${IDIR_CA_CERTIFICATES}/usr/share/ca-certificates && \
  27. ls */*.crt >${IDIR_CA_CERTIFICATES}/etc/ca-certificates.conf \
  28. )
  29. ${INSTALL_BIN} ./extra/update-ca-certificates ${IDIR_CA_CERTIFICATES}/usr/sbin/
  30. -DESTDIR=${IDIR_CA_CERTIFICATES} ${BASH} ./extra/update-ca-certificates
  31. endif
  32. include ${ADK_TOPDIR}/mk/pkg-bottom.mk