gstreamer: update to 1.24.12; rename from gstreamer1
[oi-userland.git] / components / database / pgagent / Makefile
blob276cf96506f0cb983c5d6d2f7801c9264b09a2ed
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
5 # 1.0 of the CDDL.
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 2017 Alexander Pyhalov
16 BUILD_STYLE= cmake
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= pgAgent
20 COMPONENT_FILENAME= pgagent
21 COMPONENT_VERSION= 4.2.3
22 COMPONENT_SUMMARY= pgAgent job scheduler for PostgreSQL
23 COMPONENT_SRC= $(COMPONENT_FILENAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
25 COMPONENT_ARCHIVE_HASH= sha256:d4af82e8b4063aa1ca9c407562a3bbc9c9951353538f83d82a7e523f40276388
26 COMPONENT_ARCHIVE_URL= https://github.com/pgadmin-org/pgagent/archive/refs/tags/$(COMPONENT_ARCHIVE)
27 COMPONENT_PROJECT_URL= https://www.pgadmin.org/
28 COMPONENT_FMRI= database/postgres/pgagent
29 COMPONENT_CLASSIFICATION= System/Databases
30 COMPONENT_LICENSE= MIT
31 COMPONENT_LICENSE_FILE= LICENSE
33 # Don't depend on host default pg_config
34 PATH= $(PG_BINDIR.$(BITS)):/usr/bin/$(MACH64):/usr/bin
36 TEST_TARGET= $(NO_TESTS)
37 include $(WS_MAKE_RULES)/common.mk
39 COMPONENT_POST_UNPACK_ACTION= ( $(MV) $(COMPONENT_FILENAME)-$(COMPONENT_SRC) $(COMPONENT_SRC) )
40 COMPONENT_PRE_CMAKE_ACTION= ( cp -a $(SOURCE_DIR)/* $(@D) )
42 # Workaround for cmake to look for files in build directory
43 $(BUILD_DIR)/%/.configured: $(SOURCE_DIR)/.prep
44 ($(RM) -rf $(@D) ; $(MKDIR) $(@D))
45 $(COMPONENT_PRE_CMAKE_ACTION)
46 (cd $(@D) ; $(ENV) $(CMAKE_ENV) \
47 $(CMAKE) $(CMAKE_OPTIONS) $(@D))
48 $(COMPONENT_POST_CMAKE_ACTION)
49 $(TOUCH) $@
51 CXXFLAGS += -pthreads
53 CMAKE_OPTIONS = -D STATIC_BUILD=NO
54 # Don't depend on host default pg_config
55 CMAKE_OPTIONS += -D CMAKE_PROGRAM_PATH=$(PATH)
56 CMAKE_OPTIONS += -D CMAKE_BUILD_WITH_INSTALL_RPATH="TRUE"
57 CMAKE_OPTIONS += -D CMAKE_INSTALL_RPATH_USE_LINK_PATH="TRUE"
58 CMAKE_OPTIONS += -D CMAKE_INSTALL_PREFIX=/usr
60 # How can I tell cmake to use /usr/lib/amd64/cmake instead of /usr/lib/cmake?
61 CMAKE_OPTIONS += -D CMAKE_PREFIX_PATH="/usr/lib/$(MACH64)/cmake"
63 # Manually added build dependencies
64 REQUIRED_PACKAGES += $(PG_DEVELOPER_PKG)
66 # Auto-generated dependencies
67 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
68 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
69 REQUIRED_PACKAGES += $(PG_LIBRARY_PKG)
70 REQUIRED_PACKAGES += SUNWcs
71 REQUIRED_PACKAGES += system/library
72 REQUIRED_PACKAGES += system/library/boost