gcc-6: use $(GNU_ARCH) in manifest
[unleashed-userland.git] / components / sysutils / softhsm / Makefile
bloba220ebcbedf820e7d28534041b0e0ac781c3758b
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2016 Adam Stevko
15 include ../../../make-rules/shared-macros.mk
17 COMPONENT_NAME= softhsm
18 COMPONENT_VERSION= 2.1.0
19 COMPONENT_LICENSE= BSD
20 COMPONENT_PROJECT_URL= https://www.opendnssec.org/softhsm/
21 COMPONENT_SUMMARY= SoftHSM is an implementation of a cryptographic store accessible through a PKCS11 interface.
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:0399b06f196fbfaebe73b4aeff2e2d65d0dc1901161513d0d6a94f031dcd827e
26 COMPONENT_ARCHIVE_URL= https://dist.opendnssec.org/source/$(COMPONENT_ARCHIVE)
28 include $(WS_MAKE_RULES)/prep.mk
29 include $(WS_MAKE_RULES)/configure.mk
30 include $(WS_MAKE_RULES)/ips.mk
32 CONFIGURE_OPTIONS+= --sysconfdir=/etc
33 CONFIGURE_OPTIONS+= --localstatedir=/var
34 CONFIGURE_OPTIONS+= --disable-ecc
35 CONFIGURE_OPTIONS+= --with-crypto-backend=botan
36 CONFIGURE_OPTIONS+= --with-botan=/usr
37 CONFIGURE_OPTIONS+= --with-migrate
38 CONFIGURE_OPTIONS+= --with-sqlite3=/usr
40 build: $(BUILD_32)
42 install: $(INSTALL_32)