-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathargon2.yaml
47 lines (40 loc) · 991 Bytes
/
argon2.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package:
name: argon2
version: '20190702'
epoch: 1
description: The password hash Argon2, winner of PHC
copyright:
- license: Apache-2.0
environment:
contents:
packages:
- build-base
- wolfi-base
pipeline:
- uses: git-checkout
with:
repository: https://github.com/P-H-C/phc-winner-argon2.git
depth: 1
tag: ${{package.version}}
expected-commit: 62358ba2123abd17fccf2a108a301d4b52c01a7c
- uses: patch
with:
patches: fix-cross-compilation.patch
- runs: |
make -j$(nproc) OPTTARGET=none ARGON2_VERSION=${{package.version}}
make install DESTDIR=${{targets.destdir}} LIBRARY_REL=lib
chmod 0755 ${{targets.destdir}}/usr/lib/libargon2.so.1
- uses: strip
subpackages:
- name: argon2-dev
pipeline:
- uses: split/dev
dependencies:
runtime:
- argon2
description: argon2 dev
update:
enabled: true
github:
identifier: P-H-C/phc-winner-argon2
use-tag: true