Build pEp in MacPorts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

52 lines
2.0 KiB

# -*- 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
name sequoia-pgp
version 1.0.0
revision 0
categories security
maintainers {jann @roederja} openmaintainer
license GPL-3+
description Sequoia PGP
long_description Sequoia is a cool new OpenPGP implementation. It consists of several \
crates, providing both a low-level and a high-level API for dealing \
with OpenPGP data.
homepage https://sequoia-pgp.org/
distname sequoia-v${version}
master_sites https://gitlab.com/sequoia-pgp/sequoia/-/archive/v${version}/
platforms darwin
use_bzip2 yes
use_configure no
use_parallel_build no
build.target build-release
build.post_args-append PYTHON=disable PREFIX=${prefix}
destroot.post_args-append PYTHON=disable PREFIX=${prefix}
checksums sha256 04e270129a3ed98c2bd694ce006bf6c97bdceadf7b5b86bb73dd06adbbdee897 \
size 2499835
depends_build port:pkgconfig \
port:coreutils \
port:cargo \
port:rust
depends_lib port:capnproto \
port:nettle \
port:sqlite3 \
path:lib/libssl.dylib:openssl
pre-destroot {
system "/usr/bin/install_name_tool -id \
'${prefix}/lib/libsequoia_openpgp_ffi.dylib' \
'${worksrcpath}/sequoia-v${version}/target/release/deps/libsequoia_openpgp_ffi.dylib'"
system "/usr/bin/install_name_tool -id \
'${prefix}/lib/libsequoia_ffi.dylib' \
'${worksrcpath}/sequoia-v${version}/target/release/deps/libsequoia_ffi.dylib'"
}
livecheck.type regex
livecheck.url https://gitlab.com/sequoia-pgp/sequoia/-/tags
livecheck.regex v(\\d+\\.\\d+\\.\\d+)