Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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:= 1
  7. PKG_MD5SUM:= 307052c985bec7f9a00eb84293eef779
  8. PKG_DESCR:= Collection of common CA certificates
  9. PKG_SECTION:= shells
  10. PKG_URL:= http://packages.debian.org/sid/ca-certificates
  11. PKG_SITES:= http://ftp.debian.org/debian/pool/main/c/ca-certificates/
  12. DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,CA_CERTS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. BUILD_STYLE= auto
  16. INSTALL_STYLE= auto
  17. post-install:
  18. ifeq (${ADK_DO_MINIMAL_CA_CERTS},n)
  19. $(INSTALL_DIR) $(IDIR_CA_CERTS)/{etc/ssl/certs,usr/share,usr/sbin}
  20. $(CP) $(WRKINST)/usr/share/ca-certificates $(IDIR_CA_CERTS)/usr/share/
  21. ( cd ${IDIR_CA_CERTS}/usr/share/ca-certificates && \
  22. ls */*.crt >${IDIR_CA_CERTS}/etc/ca-certificates.conf \
  23. )
  24. ${INSTALL_BIN} ./extra/update-ca-certificates ${IDIR_CA_CERTS}/usr/sbin/
  25. -DESTDIR=${IDIR_CA_CERTS} sh ./extra/update-ca-certificates
  26. else
  27. ${INSTALL_DIR} ${IDIR_CA_CERTS}/etc/ssl
  28. ${INSTALL_DATA} ./cert.pem ${IDIR_CA_CERTS}/etc/ssl/
  29. endif
  30. include ${TOPDIR}/mk/pkg-bottom.mk