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]
23 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
26 include ..
/..
/make-rules
/shared-macros.mk
28 COMPONENT_NAME
= libxslt
29 COMPONENT_VERSION
= 1.1.28
31 COMPONENT_PROJECT_URL
= http
://xmlsoft.org
/XSLT
/
32 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
33 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
34 COMPONENT_ARCHIVE_HASH
= \
35 sha256
:5fc7151a57b89c03d7b825df5a0fae0a8d5f05674c0e7cf2937ecec4d54a028c
36 COMPONENT_ARCHIVE_URL
= ftp
://xmlsoft.org
/libxslt
/$(COMPONENT_ARCHIVE
)
37 COMPONENT_BUGDB
= library
/libxslt
39 include ..
/..
/make-rules
/prep.mk
40 include ..
/..
/make-rules
/configure.mk
41 include ..
/..
/make-rules
/ips.mk
43 LINT_FLAGS
+= -I
/usr
/include/libxml2
45 CFLAGS
+= $(CPP_LARGEFILES
)
48 CONFIGURE_OPTIONS
+= --disable-static
49 CONFIGURE_OPTIONS
+= --with-pic
50 CONFIGURE_OPTIONS
+= --without-crypto
51 CONFIGURE_OPTIONS
+= --without-python
52 CONFIGURE_OPTIONS
+= --with-html-dir
=/usr
/share
/lib
/xslt
/doc
53 CONFIGURE_OPTIONS
+= --with-html-subdir
=html
54 CONFIGURE_OPTIONS
+= CFLAGS
="$(CFLAGS)"
55 CONFIGURE_OPTIONS
+= LDFLAGS
="$(LDFLAGS)"
56 CONFIGURE_OPTIONS
+= PYTHON_VENDOR_PACKAGES
=$(PYTHON_VENDOR_PACKAGES
)
58 COMPONENT_PREP_ACTION
= \
59 (cd
$(@D
) ; $(RM
) libxslt
/xsltconfig.h libexslt
/exsltconfig.h
; \
60 libtoolize
--force --copy
; aclocal
; \
61 automake
-f
-a
--copy
; autoconf
)
64 build
: $(BUILD_32_and_64
)
66 install: $(INSTALL_32_and_64
)
68 test: $(TEST_32_and_64
)
70 REQUIRED_PACKAGES
+= SUNWcs
71 REQUIRED_PACKAGES
+= library
/libxml2
72 REQUIRED_PACKAGES
+= library
/libxslt
73 REQUIRED_PACKAGES
+= system
/library
74 REQUIRED_PACKAGES
+= system
/library
/math