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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# -*-makefile-*-
#
# Copyright (C) 2019 by Rouven Czerwinski <r.czerwinski@pengutronix.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_P11_KIT) += p11-kit
#
# Paths and names
#
P11_KIT_VERSION := 0.23.15
P11_KIT_MD5 := c4c3eecfe6bd6e62e436f62b51980749
P11_KIT := p11-kit-$(P11_KIT_VERSION)
P11_KIT_SUFFIX := tar.gz
P11_KIT_URL := https://github.com/p11-glue/p11-kit/releases/download/$(P11_KIT_VERSION)/$(P11_KIT).$(P11_KIT_SUFFIX)
P11_KIT_SOURCE := $(SRCDIR)/$(P11_KIT).$(P11_KIT_SUFFIX)
P11_KIT_DIR := $(BUILDDIR)/$(P11_KIT)
P11_KIT_LICENSE := BSD-3-Clause
P11_KIT_LICENSE_FILES := \
file://COPYING;md5=02933887f609807fbb57aa4237d14a50
#
# autoconf
#
P11_KIT_CONF_TOOL := autoconf
P11_KIT_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
--disable-trust-module \
--disable-doc \
--disable-doc-html \
--disable-doc-pdf \
--without-libtasn1 \
--with-libffi \
--with-systemd \
$(STATEDIR)/p11-kit.targetinstall:
@$(call targetinfo)
@$(call install_init, p11-kit)
@$(call install_fixup, p11-kit,PRIORITY,optional)
@$(call install_fixup, p11-kit,SECTION,base)
@$(call install_fixup, p11-kit,AUTHOR,"Rouven Czerwinski <r.czerwinski@pengutronix.de>")
@$(call install_fixup, p11-kit,DESCRIPTION,missing)
@$(call install_copy, p11-kit, 0, 0, 0755, -, /usr/bin/p11-kit)
@$(call install_copy, p11-kit, 0, 0, 0755, -, \
/usr/libexec/p11-kit/p11-kit-remote)
@$(call install_copy, p11-kit, 0, 0, 0755, -, \
/usr/libexec/p11-kit/p11-kit-server)
@$(call install_copy, p11-kit, 0, 0, 0755, -, \
/usr/lib/pkcs11/p11-kit-client.so)
@$(call install_lib, p11-kit, 0, 0, 0644, libp11-kit)
@$(call install_link, p11-kit, libp11-kit.so.0.3.0, \
/usr/lib/p11-kit-proxy.so)
@$(call install_finish, p11-kit)
@$(call touch)
# vim: syntax=make
|