mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 11:45:07 +03:00
33 lines
842 B
YAML
33 lines
842 B
YAML
distributable:
|
|
url: https://www.agwa.name/projects/git-crypt/downloads/git-crypt-{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://www.agwa.name/projects/git-crypt/
|
|
match: /git-crypt-\d+\.\d+\.\d+\.tar\.gz/
|
|
strip:
|
|
- /^git-crypt-/
|
|
- /\.tar\.gz$/
|
|
|
|
dependencies:
|
|
openssl.org: '^1.1'
|
|
|
|
build:
|
|
dependencies:
|
|
docbook.org: '*'
|
|
docbook.org/xsl: '*'
|
|
gnome.org/libxslt: '*'
|
|
script:
|
|
- sed -i "s|http://docbook.sourceforge.net/release/xsl/current|{{deps.docbook.org/xsl.prefix}}/libexec/docbook-xsl|g" Makefile
|
|
- make ENABLE_MAN=yes PREFIX={{prefix}} install
|
|
env:
|
|
XML_CATALOG_FILES: ${{prefix}}/etc/xml/catalog
|
|
CFLAGS: $CFLAGS -DOPENSSL_API_COMPAT=0x30000000L
|
|
|
|
provides:
|
|
- bin/git-crypt
|
|
|
|
test:
|
|
- git-crypt keygen keyfile
|
|
- ls | grep keyfile
|
|
- git-crypt version | grep {{version}}
|