16 # fields enclosed by brackets "[]" replaced with your own identifying |
16 # fields enclosed by brackets "[]" replaced with your own identifying |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
|
21 |
|
22 # |
21 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
22 # |
24 # |
23 |
25 BUILD_BITS= 64 |
24 include ../../../make-rules/shared-macros.mk |
26 include ../../../make-rules/shared-macros.mk |
25 |
27 |
26 COMPONENT_NAME= pidgin-otr |
28 COMPONENT_NAME= pidgin-otr |
27 COMPONENT_VERSION= 4.0.2 |
29 COMPONENT_VERSION= 4.0.2 |
28 COMPONENT_PROJECT_URL= http://www.cypherpunks.ca/otr/ |
30 COMPONENT_PROJECT_URL= http://www.cypherpunks.ca/otr/ |
29 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
30 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
|
31 COMPONENT_ARCHIVE_HASH= \ |
31 COMPONENT_ARCHIVE_HASH= \ |
32 sha256:f4b59eef4a94b1d29dbe0c106dd00cdc630e47f18619fc754e5afbf5724ebac4 |
32 sha256:f4b59eef4a94b1d29dbe0c106dd00cdc630e47f18619fc754e5afbf5724ebac4 |
33 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE) |
33 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE) |
34 COMPONENT_BUGDB= utility/pidgin |
34 COMPONENT_BUGDB= utility/pidgin |
35 |
35 |
36 TPNO= 27403 |
36 TPNO= 27403 |
37 |
37 |
38 include $(WS_MAKE_RULES)/prep.mk |
|
39 include $(WS_MAKE_RULES)/configure.mk |
|
40 |
|
41 # Pidgin is on the do-not-publish list (depends on S12-only changes in ON & |
38 # Pidgin is on the do-not-publish list (depends on S12-only changes in ON & |
42 # Desktop), so no point publishing this without that. |
39 # Desktop), so no point publishing this without that. |
43 ifeq ($(BUILD_TYPE), evaluation) |
40 ifeq ($(BUILD_TYPE), evaluation) |
44 BUILD_32_and_64= |
41 BUILD_64= |
45 INSTALL_32_and_64= |
42 INSTALL_64= |
46 PUBLISH_STAMP= |
43 PUBLISH_STAMP= |
47 endif |
44 endif |
48 |
45 |
49 include $(WS_MAKE_RULES)/ips.mk |
46 TEST_TARGET= $(NO_TESTS) |
|
47 include $(WS_MAKE_RULES)/common.mk |
50 |
48 |
51 # Need to pick up the GNU version of xgettext. |
49 # Need to pick up the GNU version of xgettext. |
52 PATH=/usr/gnu/bin:/usr/bin |
50 PATH=$(GNUBIN):$(USRBINDIR) |
53 |
51 |
54 CFLAGS += -DG_IMPLEMENT_INLINES -DG_HAVE_ISO_VARARGS |
52 CFLAGS += -DG_IMPLEMENT_INLINES -DG_HAVE_ISO_VARARGS |
55 |
53 |
56 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
|
57 |
|
58 ASLR_MODE = $(ASLR_ENABLE) |
|
59 |
|
60 configure: $(CONFIGURE_64) |
|
61 |
|
62 build: $(BUILD_64) |
|
63 |
|
64 install: $(INSTALL_64) |
|
65 |
|
66 test: $(NO_TESTS) |
|
67 |
|
68 system-test: $(NO_TESTS) |
|
69 |
|
70 REQUIRED_PACKAGES += communication/im/libotr |
54 REQUIRED_PACKAGES += communication/im/libotr |
71 REQUIRED_PACKAGES += communication/im/pidgin |
55 REQUIRED_PACKAGES += communication/im/pidgin |
72 REQUIRED_PACKAGES += system/library |
|
73 REQUIRED_PACKAGES += system/library/security/libgcrypt |
56 REQUIRED_PACKAGES += system/library/security/libgcrypt |