4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
21 # Copyright (c) 2013, Colin Ellis. All rights reserved.
22 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
24 include ..
/..
/..
/make-rules
/shared-macros.mk
26 COMPONENT_NAME
= libksba
27 COMPONENT_VERSION
= 1.3.5
28 COMPONENT_FMRI
= library
/security
/libksba
29 COMPONENT_SUMMARY
= GnuPG X
.509 certificate library
30 COMPONENT_CLASSIFICATION
= System
/Libraries
31 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
32 COMPONENT_PROJECT_URL
= http
://www.gnupg.org
/related_software
/libksba
/
33 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
34 COMPONENT_ARCHIVE_HASH
= \
35 sha256
:41444fd7a6ff73a79ad9728f985e71c9ba8cd3e5e53358e70d5f066d35c1a340
36 COMPONENT_ARCHIVE_URL
= ftp
://ftp.gnupg.org
/gcrypt
/libksba
/$(COMPONENT_ARCHIVE
)
37 COMPONENT_LICENSE
= GPLv3
39 include $(WS_MAKE_RULES
)/prep.mk
40 include $(WS_MAKE_RULES
)/configure.mk
41 include $(WS_MAKE_RULES
)/ips.mk
44 CONFIGURE_ENV
+= INSTALL
="$(INSTALL)"
46 CONFIGURE_OPTIONS
+= --localstatedir
=/var
47 CONFIGURE_OPTIONS
+= --infodir=$(CONFIGURE_INFODIR
)
48 CONFIGURE_OPTIONS
+= --enable-shared
49 CONFIGURE_OPTIONS
+= --disable-static
50 CONFIGURE_OPTIONS
+= --with-gpg-error-prefix
=$(CONFIGURE_PREFIX
)
51 CONFIGURE_OPTIONS
+= --with-pic
53 COMPONENT_TEST_TRANSFORMS
+= \
55 '-e "/Nothing to be done/d"' \
56 '-e "/Leaving directory/d"' \
57 '-e "/Entering directory/d"'
59 build
: $(BUILD_32_and_64
)
61 install: $(INSTALL_32_and_64
)
63 test: $(TEST_32_and_64
)
65 REQUIRED_PACKAGES
+= SUNWcs
66 REQUIRED_PACKAGES
+= library
/security
/libgpg-error
67 REQUIRED_PACKAGES
+= system
/library