summaryrefslogtreecommitdiffstats
path: root/rules/host-libp11.make
blob: 284284f145718df704b4f72a03dab4f49b45059a (plain)
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
# -*-makefile-*-
#
# Copyright (C) 2016 by Steffen Trumtrar <s.trumtrar@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
#
HOST_PACKAGES-$(PTXCONF_HOST_LIBP11) += host-libp11

#
# Paths and names
#
HOST_LIBP11_VERSION	:= 0.4.9
HOST_LIBP11_MD5		:= 757b23242758a52599cb35f61de11ba2
HOST_LIBP11		:= libp11-$(HOST_LIBP11_VERSION)
HOST_LIBP11_SUFFIX	:= tar.gz
HOST_LIBP11_URL		:= https://github.com/OpenSC/libp11/releases/download/$(HOST_LIBP11)/$(HOST_LIBP11).$(HOST_LIBP11_SUFFIX)
HOST_LIBP11_SOURCE	:= $(SRCDIR)/$(HOST_LIBP11).$(HOST_LIBP11_SUFFIX)
HOST_LIBP11_DIR		:= $(HOST_BUILDDIR)/$(HOST_LIBP11)

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

#
# autoconf
#
HOST_LIBP11_CONF_TOOL	:= autoconf
HOST_LIBP11_CONF_OPT	:= \
	$(HOST_AUTOCONF) \
	--disable-strict \
	--disable-pedantic \
	--disable-api-doc \
	--with-enginesdir=/lib/engines \
	--with-pkcs11-module=

HOST_LIBP11_MAKE_PAR	:= NO

# vim: syntax=make