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.illumos.org/license/CDDL.
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, Aurelien Larcher. All rights reserved.
23 include ..
/..
/..
/make-rules
/shared-macros.mk
26 COMPONENT_VERSION
= 0.7.6
27 COMPONENT_SNAPSHOT_VERSION
= 121130
28 COMPONENT_FMRI
= library
/math
/gts
29 COMPONENT_SRC
= $(COMPONENT_NAME
)-snapshot-
$(COMPONENT_SNAPSHOT_VERSION
)
30 COMPONENT_PROJECT_URL
= http
://gts.sourceforge.net
/
31 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
32 COMPONENT_ARCHIVE_HASH
= sha256
:c23f72ab74bbf65599f8c0b599d6336fabe1ec2a09c19b70544eeefdc069b73b
33 COMPONENT_ARCHIVE_URL
= http
://gts.sourceforge.net
/tarballs
/$(COMPONENT_ARCHIVE
)
34 COMPONENT_LICENSE
= GPLv2
35 COMPONENT_LICENSE_FILE
= $(COMPONENT_NAME
).license
36 COMPONENT_SUMMARY
= GNU Triangulated Surface Library
38 include $(WS_MAKE_RULES
)/prep.mk
39 include $(WS_MAKE_RULES
)/configure.mk
40 include $(WS_MAKE_RULES
)/ips.mk
44 CONFIGURE_OPTIONS
+= --includedir=$(USRINCDIR
)/$(COMPONENT_NAME
)
45 CONFIGURE_OPTIONS
+= --enable-shared
46 CONFIGURE_OPTIONS
+= --disable-static
49 build
: $(BUILD_32_and_64
)
51 install: $(INSTALL_32_and_64
)
55 # Auto-generated dependencies
56 REQUIRED_PACKAGES
+= SUNWcs
57 REQUIRED_PACKAGES
+= library
/glib2
58 REQUIRED_PACKAGES
+= system
/library
59 REQUIRED_PACKAGES
+= system
/library
/math