kind: manual

depends:
- filename: gnu-toolchain.bst
  type: build
- filename: core/automake.bst
  type: build
- filename: core/python3.bst
  type: build

sources:
- kind: git
  url: upstream:ca-certificates
  track: baserock/debian/20150426
  ref: 642c21872876ce2f9ec323b1df44f1cd6c47e91c

config:
  build-commands:
  - make
  install-commands:
  - mkdir -p "%{install-root}"/usr/share/ca-certificates
  - mkdir -p "%{install-root}"/usr/sbin
  - make DESTDIR="%{install-root}" install
  - mkdir "%{install-root}"/etc
  - |
    cd "%{install-root}"/usr/share/ca-certificates
    find * -type f > "%{install-root}"/etc/ca-certificates.conf

public:
  bst:
    integration-commands:
    - update-ca-certificates
