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 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= idzebra
19 COMPONENT_VERSION
= 2.0.62
20 COMPONENT_SUMMARY
= idzebra
- text indexing and retrieval engine
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
23 COMPONENT_ARCHIVE_HASH
= \
24 sha256
:f14e34509c0b7d6df98f83ff05cf81b8b82919a5a3cdcccf42125caf30f5a7f0
25 COMPONENT_ARCHIVE_URL
= \
26 http
://ftp.indexdata.dk
/pub
/zebra
/$(COMPONENT_ARCHIVE
)
27 COMPONENT_PROJECT_URL
= http
://www.indexdata.dk
/zebra
28 COMPONENT_FMRI
= text
/idzebra
29 COMPONENT_CLASSIFICATION
= System
/Text Tools
30 COMPONENT_LICENSE
= GPLv2
31 COMPONENT_LICENSE_FILE
= LICENSE.zebra
33 include $(WS_MAKE_RULES
)/prep.mk
34 include $(WS_MAKE_RULES
)/configure.mk
35 include $(WS_MAKE_RULES
)/ips.mk
37 # For tests to pass we should be very careful about files
38 COMPONENT_PRE_CONFIGURE_ACTION
= (cp
-a
$(SOURCE_DIR
)/* $(@D
))
40 CONFIGURE_SCRIPT
= $(@D
)/configure
42 # Without this tests fail
45 COMPONENT_TEST_MASTER
= $(COMPONENT_TEST_RESULTS_DIR
)/results-all.master
46 COMPONENT_TEST_TRANSFORMS
+= \
54 build
: $(BUILD_32_and_64
)
56 install: $(INSTALL_32_and_64
)
58 test: $(TEST_32_and_64
)
60 REQUIRED_PACKAGES
+= compress
/bzip2
61 REQUIRED_PACKAGES
+= database
/yaz
62 REQUIRED_PACKAGES
+= library
/expat
63 REQUIRED_PACKAGES
+= library
/libxml2
64 REQUIRED_PACKAGES
+= library
/libxslt
65 REQUIRED_PACKAGES
+= library
/zlib
66 REQUIRED_PACKAGES
+= runtime
/perl-522
67 REQUIRED_PACKAGES
+= runtime
/tcl-8
68 REQUIRED_PACKAGES
+= SUNWcs
69 REQUIRED_PACKAGES
+= system
/library