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) 2014, Oracle and/or its affiliates. All rights reserved.
26 include ..
/..
/make-rules
/shared-macros.mk
28 COMPONENT_NAME
= indri
29 COMPONENT_VERSION
= 5.4
30 COMPONENT_PROJECT_URL
= http
://lemurproject.org
/indri.php
31 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
32 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
33 COMPONENT_ARCHIVE_HASH
= \
34 sha256
:b1d27f6da4cb15776cee0121c9511ed0e998d47564d785a2bb41a44c654e3e3f
35 COMPONENT_ARCHIVE_URL
= http
://sourceforge.net
/projects
/lemur
/files
/lemur
/$(COMPONENT_SRC
)/$(COMPONENT_SRC
).
tar.gz
/download
36 COMPONENT_BUGDB
= library
/indri
38 include ..
/..
/make-rules
/prep.mk
39 include ..
/..
/make-rules
/configure.mk
40 include ..
/..
/make-rules
/ips.mk
42 COMPONENT_PRE_CONFIGURE_ACTION
= $(CLONEY
) $(SOURCE_DIR
) $(@D
)
43 COMPONENT_INSTALL_ARGS
= "includedir=$(PROTOUSRINCDIR)"
44 COMPONENT_INSTALL_ARGS
+= "datarootdir=$(PROTOUSRSHAREDIR)"
46 $(BUILD_DIR_32
)/.installed
: COMPONENT_INSTALL_ARGS
+= "bindir=$(PROTOUSRBINDIR)"
47 $(BUILD_DIR_32
)/.installed
: COMPONENT_INSTALL_ARGS
+= "libdir=$(PROTOUSRLIBDIR)"
48 $(BUILD_DIR_64
)/.installed
: COMPONENT_INSTALL_ARGS
+= "bindir=$(PROTOUSRBINDIR64)"
49 $(BUILD_DIR_64
)/.installed
: COMPONENT_INSTALL_ARGS
+= "libdir=$(PROTOUSRLIBDIR64)"
51 $(BUILD_DIR_64
)/.built
: LD_B_DIRECT
=
53 COMPONENT_POST_BUILD_ACTION
= \
54 (cd
$(@D
) ; $(ENV
) $(COMPONENT_BUILD_ENV
) \
55 $(GMAKE
) -f Makefile.app
)
57 GPATCH_FLAGS
+= -E
# remove empty files
60 build
: $(BUILD_32_and_64
)
62 install: $(INSTALL_32_and_64
)
66 BUILD_PKG_DEPENDENCIES
= $(BUILD_TOOLS
)
68 include ..
/..
/make-rules
/depend.mk