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 2013 Colin Ellis. All rights reserved.
22 # Copyright 2011 Audioboo Ltd. All rights reserved.
24 include ..
/..
/make-rules
/shared-macros.mk
26 COMPONENT_NAME
= libgcrypt
27 COMPONENT_VERSION
= 1.5.4
29 COMPONENT_PROJECT_URL
= http
://www.gnu.org
/software
/libgcrypt
/
30 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
31 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
32 COMPONENT_ARCHIVE_HASH
= \
33 sha256
:d5f88d9f41a46953dc250cdb8575129b37ee2208401b7fa338c897f667c7fb33
34 COMPONENT_ARCHIVE_URL
= ftp
://ftp.gnupg.org
/gcrypt
/$(COMPONENT_NAME
)/$(COMPONENT_ARCHIVE
)
36 include ..
/..
/make-rules
/prep.mk
37 include ..
/..
/make-rules
/configure.mk
38 include ..
/..
/make-rules
/ips.mk
40 CONFIGURE_OPTIONS
+= --disable-static
41 CONFIGURE_OPTIONS
+= --enable-shared
43 CONFIGURE_OPTIONS
+= --with-gnu-ld
44 CONFIGURE_OPTIONS
.64 += --disable-asm
46 build
: $(BUILD_32_and_64
)
48 install: $(INSTALL_32_and_64
)
50 test: $(TEST_32_and_64
)
52 BUILD_PKG_DEPENDENCIES
= $(BUILD_TOOLS
)
54 include ..
/..
/make-rules
/depend.mk