Makefile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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:= shells
  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:= 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. BUILD_STYLE:= auto
  19. INSTALL_STYLE:= auto
  20. post-install:
  21. ifeq (${ADK_PACKAGE_CA_CERTS_SMALL},n)
  22. $(INSTALL_DIR) $(IDIR_CA_CERTS)/{etc/ssl/certs,usr/share,usr/sbin}
  23. $(CP) $(WRKINST)/usr/share/ca-certificates $(IDIR_CA_CERTS)/usr/share/
  24. ( cd ${IDIR_CA_CERTS}/usr/share/ca-certificates && \
  25. ls */*.crt >${IDIR_CA_CERTS}/etc/ca-certificates.conf \
  26. )
  27. ${INSTALL_BIN} ./extra/update-ca-certificates ${IDIR_CA_CERTS}/usr/sbin/
  28. -DESTDIR=${IDIR_CA_CERTS} ${BASH} ./extra/update-ca-certificates
  29. else
  30. ${INSTALL_DIR} ${IDIR_CA_CERTS}/etc/ssl
  31. ${INSTALL_DATA} ./cert.pem ${IDIR_CA_CERTS}/etc/ssl/
  32. endif
  33. include ${TOPDIR}/mk/pkg-bottom.mk