diff options
author | Rouven Czerwinski <r.czerwinski@pengutronix.de> | 2019-02-05 11:29:46 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-02-06 07:15:53 +0100 |
commit | 55cbdcda333faa94b7f11db7add7734d3438a358 (patch) | |
tree | 544713c8607e954c7a8e38fa254d15251f7a45f7 /rules/p11-kit.make | |
parent | 3714ebf885d88981c8fd1bf5abbbdb7a76ca2331 (diff) | |
download | ptxdist-55cbdcda333faa94b7f11db7add7734d3438a358.tar.gz ptxdist-55cbdcda333faa94b7f11db7add7734d3438a358.tar.xz |
p11-kit: add as new target package
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/p11-kit.make')
-rw-r--r-- | rules/p11-kit.make | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/rules/p11-kit.make b/rules/p11-kit.make new file mode 100644 index 000000000..b03d8cd83 --- /dev/null +++ b/rules/p11-kit.make @@ -0,0 +1,68 @@ +# -*-makefile-*- +# +# Copyright (C) 2019 by Rouven Czerwinski <r.czerwinski@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# 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 + +# +# 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 |