blob: 1eeb2e7c81708570d238a0467c710f7a3cf27de0 [file] [log] [blame]
Jess Frazelle2b0bc862016-09-22 09:49:45 -07001---
2GENERATOR:
3 PackageName: ykpiv
4 PackageDescription: "Package ykpiv provides Go bindings for libykpiv."
5 PackageLicense: |
6 Redistribution and use in source and binary forms, with or without
7 modification, are permitted provided that the following conditions
8 are met:
9
10 * Redistributions of source code must retain the above copyright
11 notice, this list of conditions and the following disclaimer.
12
13 * Redistributions in binary form must reproduce the above
14 copyright notice, this list of conditions and the following
15 disclaimer in the documentation and/or other materials provided
16 with the distribution.
17
18 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
21 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22 OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 Includes: ["ykpiv.h"]
30 FlagGroups:
Jess Frazelle331ef482016-09-22 15:01:36 -070031 - {name: LDFLAGS, flags: [-lykpiv -lcrypto -lpcsclite -lpthread]}
Jess Frazelle2b0bc862016-09-22 09:49:45 -070032
33PARSER:
34 IncludePaths: ["/usr/include", "/usr/lib", "/usr/src/yubico-piv-tool/lib", "/usr/src/yubico-piv-tool/ykpiv"]
35 SourcesPaths: ["ykpiv.h"]
36
37TRANSLATOR:
38 ConstRules:
39 defines: expand
40 PtrTips:
41 function: [{target: "_Init$", tips: [ref]}]
42 Rules:
43 global:
44 - {action: accept, from: "(?i)^YKPIV"}
45 - {action: replace, from: "(?i)^YKPIV"}
46 - {action: ignore, from: "ykpiv_sign_data2"}
47 - {transform: export}
48 const:
49 type:
50 - {action: replace, from: "_t$"}
51 private:
52 - {transform: unexport}
53 post-global:
54 - {action: replace, from: _$}
55 - {load: snakecase}