Files

26 lines
1.0 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup cmake 1.1
PortGroup github 1.0
github.setup paolostivanin libcotp 3.1.0 v
revision 0
categories security devel crypto
maintainers nomaintainer
license Apache-2
description C library that generates TOTP and HOTP
long_description {*}${description}
checksums rmd160 ca41f32d5a4699c19bcc7e217bf329beeb938f74 \
sha256 a48bbfd95b7ec12d23e4e2c4a017f8acddecc14bf10541ff144563cee044b39c \
size 20639
github.tarball_from archive
depends_build-append path:bin/pkg-config:pkgconfig
depends_lib-append port:libgcrypt
compiler.cxx_standard 2011
# TODO: tests require criterion, which is not yet in Macports: https://github.com/Snaipe/Criterion
configure.args-append -DBUILD_TESTING=OFF