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 2024 Friedrich Kink
15 include ..
/..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= fts-xapian
18 COMPONENT_VERSION
= 1.7.17
19 COMPONENT_SUMMARY
= FTS Xapian plugin for Dovecot
20 COMPONENT_PROJECT_URL
= https
://github.com
/grosjo
/fts-xapian
21 COMPONENT_FMRI
= mail
/dovecot
/fts-xapian
22 COMPONENT_CLASSIFICATION
=Applications
/Internet
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= dovecot-
$(COMPONENT_SRC
).
tar.gz
25 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/releases
/download
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
26 COMPONENT_ARCHIVE_HASH
= sha256
:64163cc758995b4203948c707f3ab48d317f13babd8dea987bf54740d71e7267
27 COMPONENT_LICENSE
= LGPLv2.1
28 COMPONENT_LICENSE_FILE
= COPYING
30 include $(WS_MAKE_RULES
)/common.mk
32 COMPONENT_PRE_CONFIGURE_ACTION
+= ( cd
$(SOURCE_DIR
); autoupdate
; autoreconf
-vi
; )
34 TEST_TARGET
= $(NO_TESTS
)
36 CONFIGURE_OPTIONS
+= --enable-static
=no
37 CONFIGURE_OPTIONS
+= --disable-dependency-tracking
38 CONFIGURE_OPTIONS
+= --with-dovecot
=/usr
/lib
/amd64
/dovecot
39 CONFIGURE_OPTIONS
+= --with-dovecot-install-dirs
41 # manually added dependency
42 REQUIRED_PACKAGES
+= mail
/dovecot
44 # Auto-generated dependencies
45 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
46 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
47 REQUIRED_PACKAGES
+= $(ICU_LIBRARY_PKG
)
48 REQUIRED_PACKAGES
+= database
/sqlite-3
49 REQUIRED_PACKAGES
+= library
/xapian
50 REQUIRED_PACKAGES
+= system
/library
51 REQUIRED_PACKAGES
+= system
/library
/math