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 (c) 2014 Alexander Pyhalov. All rights reserved
15 include ..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= libgsasl
18 COMPONENT_VERSION
= 1.8.0
19 COMPONENT_PROJECT_URL
= http
://www.gnu.org
/software
/gsasl
/
20 COMPONENT_SUMMARY
= Implementation of the Simple Authentication and Security Layer framework
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
23 COMPONENT_ARCHIVE_HASH
= \
24 sha256
:3adfb49f9c92a719dea855fd1840d698cde55d4648d332a69032ba8bea207720
25 COMPONENT_FMRI
= library
/libgsasl
26 COMPONENT_CLASSIFICATION
= System
/Libraries
27 COMPONENT_LICENSE
= GPLv3
28 COMPONENT_LICENSE_FILE
= COPYING
30 COMPONENT_ARCHIVE_URL
= ftp
://ftp.gnu.org
/gnu
/gsasl
/$(COMPONENT_ARCHIVE
)
32 include $(WS_TOP
)/make-rules
/prep.mk
33 include $(WS_TOP
)/make-rules
/configure.mk
34 include $(WS_TOP
)/make-rules
/ips.mk
36 PATH
=/usr
/gnu
/bin
:/usr
/bin
38 CFLAGS
+= -I
/usr
/include/idn
40 CONFIGURE_OPTIONS
.32 += --sysconfdir
=/etc
41 CONFIGURE_OPTIONS
.32 += --libexecdir
=/usr
/lib
42 CONFIGURE_OPTIONS
.64 += --libexecdir
=/usr
/lib
/$(MACH64
)
45 build
: $(BUILD_32_and_64
)
47 install: $(INSTALL_32_and_64
)
49 test: $(TEST_32_and_64
)
51 BUILD_PKG_DEPENDENCIES
= $(BUILD_TOOLS
)
53 include $(WS_TOP
)/make-rules
/depend.mk