nrpe: update to 4.1.3
[oi-userland.git] / components / mail / abook / Makefile
blobf83cf9119c359470e1323db7445a433bd5d85ca4
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
22 # Copyright (c) 2015 Matt Samudio
23 # Copyright (c) 2018 Michal Nowak
26 PREFERRED_BITS=64
28 include ../../../make-rules/shared-macros.mk
30 COMPONENT_NAME= abook
31 COMPONENT_VERSION= 0.6.1
32 COMPONENT_PROJECT_URL= http://abook.sourceforge.net/
33 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
34 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
35 COMPONENT_ARCHIVE_HASH= \
36 sha256:f0a90df8694fb34685ecdd45d97db28b88046c15c95e7b0700596028bd8bc0f9
37 COMPONENT_ARCHIVE_URL= http://abook.sourceforge.net/devel/$(COMPONENT_ARCHIVE)
38 COMPONENT_FMRI= mail/$(COMPONENT_NAME)
39 COMPONENT_CLASSIFICATION= Applications/Internet
40 COMPONENT_SUMMARY= abook addressbook program
41 COMPONENT_LICENSE= GPLv2
42 COMPONENT_LICENSE_FILE= COPYING
44 include $(WS_MAKE_RULES)/prep.mk
45 include $(WS_MAKE_RULES)/configure.mk
46 include $(WS_MAKE_RULES)/ips.mk
48 CPPFLAGS += -I/usr/include/ncurses
49 CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS) -fgnu89-inline"
51 COMPONENT_PRE_CONFIGURE_ACTION = (cp -r $(SOURCE_DIR)/* $(BUILD_DIR_$(BITS))/)
52 COMPONENT_PREP_ACTION += ( cd $(@D) && autoreconf -fiv )
53 COMPONENT_BUILD_ARGS=
54 COMPONENT_BUILD_ENV += CC=$(CC)
56 # common targets
57 build: $(BUILD_64)
59 install: $(INSTALL_64)
61 test: $(NO_TESTS)
63 REQUIRED_PACKAGES += library/ncurses
64 REQUIRED_PACKAGES += library/readline
65 REQUIRED_PACKAGES += system/library