description="Utility to deliver and manage a complete PKI configuration"
url="https://github.com/djlucas/make-ca/"

packager="spiky <spiky@nutyx.org>"
contributors="Tnut"

run=(gawk nss p11-kit)

name=make-ca
version=1.14

source=(https://hg.mozilla.org/projects/nss/raw-file/tip/lib/ckfw/builtins/certdata.txt
        https://github.com/lfs-book/$name/archive/v$version/$name-$version.tar.gz)

build() {
install -vdm755 $PKG/etc/ssl
install -m644 certdata.txt $PKG/etc/ssl/certdata.txt

cd $name-$version
make DESTDIR=$PKG install
}
