diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-08-22 23:46:22 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-08-22 23:46:22 +0200 |
commit | 89c97737dfc60a2e934f136c562dab5bb366396b (patch) | |
tree | 6611a7b7d248491651a6c3fc69fce127f8ce9b26 /package/ca-certificates/Makefile | |
parent | 994e42f0b850c8f939dd4c3dc300c8e5d5cb1959 (diff) | |
parent | ba0c06d2bb46e087f1782eb76573e0bef735c062 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/ca-certificates/Makefile')
-rw-r--r-- | package/ca-certificates/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/package/ca-certificates/Makefile b/package/ca-certificates/Makefile new file mode 100644 index 000000000..020e0dfc7 --- /dev/null +++ b/package/ca-certificates/Makefile @@ -0,0 +1,40 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= ca-certificates +PKG_VERSION:= 20090814 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 307052c985bec7f9a00eb84293eef779 +PKG_DESCR:= Collection of common CA certificates +PKG_SECTION:= shells +PKG_URL:= http://packages.debian.org/sid/ca-certificates +PKG_SITES:= http://ftp.debian.org/debian/pool/main/c/ca-certificates/ + +DISTFILES:= ${PKG_NAME}_${PKG_VERSION}.tar.gz + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,CA_CERTS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +BUILD_STYLE= auto +INSTALL_STYLE= auto + + +post-install: +ifeq (${ADK_DO_MINIMAL_CA_CERTS},n) + $(INSTALL_DIR) $(IDIR_CA_CERTS)/{etc/ssl/certs,usr/share,usr/sbin} + $(CP) $(WRKINST)/usr/share/ca-certificates $(IDIR_CA_CERTS)/usr/share/ + ( cd ${IDIR_CA_CERTS}/usr/share/ca-certificates && \ + ls */*.crt >${IDIR_CA_CERTS}/etc/ca-certificates.conf \ + ) + ${INSTALL_BIN} ./extra/update-ca-certificates ${IDIR_CA_CERTS}/usr/sbin/ + -DESTDIR=${IDIR_CA_CERTS} sh ./extra/update-ca-certificates +else + ${INSTALL_DIR} ${IDIR_CA_CERTS}/etc/ssl + ${INSTALL_DATA} ./cert.pem ${IDIR_CA_CERTS}/etc/ssl/ +endif + + +include ${TOPDIR}/mk/pkg-bottom.mk |