2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2016 Alexander Pyhalov
16 USE_DEFAULT_TEST_TRANSFORMS
= yes
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= idzebra
20 COMPONENT_VERSION
= 2.2.7
21 COMPONENT_SUMMARY
= idzebra
- text indexing and retrieval engine
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
24 COMPONENT_ARCHIVE_HASH
= sha256
:b465ffeb060f507316e6cfc20ebd46022472076d0d4e96ef7dab63e798066420
25 COMPONENT_ARCHIVE_URL
= https
://ftp.indexdata.com
/pub
/zebra
/$(COMPONENT_ARCHIVE
)
26 COMPONENT_PROJECT_URL
= https
://www.indexdata.com
/resources
/software
/zebra
/
27 COMPONENT_FMRI
= text
/idzebra
28 COMPONENT_CLASSIFICATION
= System
/Text Tools
29 COMPONENT_LICENSE
= GPLv2
30 COMPONENT_LICENSE_FILE
= LICENSE.zebra
32 include $(WS_MAKE_RULES
)/common.mk
34 # For tests to pass we should be very careful about files
35 COMPONENT_PRE_CONFIGURE_ACTION
= (cp
-a
$(SOURCE_DIR
)/* $(@D
))
37 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && autoreconf
-fi
)
39 CONFIGURE_OPTIONS
+= --enable-static
=no
41 # Without this tests fail
44 COMPONENT_POST_INSTALL_ACTION
= ( \
45 cd
$(PROTO_DIR
)/usr
/bin
&& \
46 $(MV
) .
/idzebra-config-2.0 .
/idzebra-config
&& \
47 $(MV
) .
/zebraidx-2.0 .
/zebraidx
&& \
48 $(MV
) .
/zebrasrv-2.0 .
/zebrasrv
)
50 # Auto-generated dependencies
51 REQUIRED_PACKAGES
+= compress
/bzip2
52 REQUIRED_PACKAGES
+= database
/yaz
53 REQUIRED_PACKAGES
+= library
/expat
54 REQUIRED_PACKAGES
+= library
/libxml2
55 REQUIRED_PACKAGES
+= library
/libxslt
56 REQUIRED_PACKAGES
+= library
/zlib
57 REQUIRED_PACKAGES
+= runtime
/perl
58 REQUIRED_PACKAGES
+= runtime
/tcl-8
59 REQUIRED_PACKAGES
+= shell/ksh93
60 REQUIRED_PACKAGES
+= system
/library