Merge pull request #2846 from pyhalov/ptlib
[unleashed-userland.git] / components / pgpool-II / Makefile
blobd67a78fb4965243a18eb9099e47ad3c28981f993
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 2013 Alexander Pyhalov. All rights reserved.
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= pgpool-II
19 COMPONENT_VERSION= 3.3.1
20 COMPONENT_SUMMARY= pgpool-II middle ware
21 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
22 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
23 COMPONENT_ARCHIVE_HASH= \
24 sha256:214e0fe96f8f2b3568ee6937318d254cb69e614ed5acd7e342bc6f34996dce7e
25 COMPONENT_ARCHIVE_URL= \
26 http://www.pgpool.net/download.php?f=$(COMPONENT_ARCHIVE)
27 COMPONENT_PROJECT_URL = http://pgpool.net/
29 # Don't depend on host default pg_config
30 PATH=$(PG_BINDIR.$(BITS)):/usr/sbin:/usr/bin
32 include $(WS_TOP)/make-rules/prep.mk
33 include $(WS_TOP)/make-rules/configure.mk
34 include $(WS_TOP)/make-rules/ips.mk
36 COMPONENT_PRE_CONFIGURE_ACTION = (cp -a $(SOURCE_DIR)/* $(@D))
38 CONFIGURE_OPTIONS += --sysconfdir=/etc/pgpool-II
40 build: $(BUILD_32)
42 install: $(INSTALL_32)