vim: update to 9.1.0984
[oi-userland.git] / components / library / xapian / Makefile
blobfcc981984ebfe4c0f91219b64740f83f7c072b9e
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright (c) 2024 Andreas Wacknitz
15 USE_PARALLEL_BUILD= yes
16 USE_DEFAULT_TEST_TRANSFORMS= yes
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= xapian
20 COMPONENT_VERSION= 1.4.27
21 COMPONENT_SUMMARY= An Open Source Search Engine Library
22 COMPONENT_PROJECT_URL= https://xapian.org
23 COMPONENT_SRC= $(COMPONENT_NAME)-core-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz
25 COMPONENT_ARCHIVE_HASH= sha256:bcbc99cfbf16080119c2571fc296794f539bd542ca3926f17c2999600830ab61
26 COMPONENT_ARCHIVE_URL= https://oligarchy.co.uk/$(COMPONENT_NAME)/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
27 COMPONENT_FMRI= library/xapian
28 COMPONENT_CLASSIFICATION= System/Libraries
29 COMPONENT_LICENSE= GPLv2+
30 COMPONENT_LICENSE_FILE= COPYING
32 include $(WS_MAKE_RULES)/common.mk
34 CFLAGS += $(XPG6MODE)
36 COMPONENT_PREP_ACTION= ( cd $(@D) && autoreconf -fi )
38 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
40 COMPONENT_TEST_TRANSFORMS += \
41 '-e "/^Running /p"' \
42 '-e "/failed/p"' \
43 '-e "/passed/p"' \
44 '-e "/^Please/p"' \
45 '-e "/======/p"'
47 # Auto-generated dependencies
48 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
49 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
50 REQUIRED_PACKAGES += library/zlib
51 REQUIRED_PACKAGES += shell/ksh93
52 REQUIRED_PACKAGES += system/library
53 REQUIRED_PACKAGES += system/library/math