#
|
# This file and its contents are supplied under the terms of the
|
# Common Development and Distribution License ("CDDL"), version 1.0.
|
# You may only use this file in accordance with the terms of version
|
# 1.0 of the CDDL.
|
#
|
# A full copy of the text of the CDDL should have accompanied this
|
# source. A copy of the CDDL is also available via the Internet at
|
# http://www.illumos.org/license/CDDL.
|
#
|
|
#
|
# Copyright 2014 Alexander Pyhalov. All rights reserved.
|
#
|
|
include ../../../make-rules/shared-macros.mk
|
|
COMPONENT_NAME= gmime
|
COMPONENT_VERSION= 2.5.10
|
COMPONENT_REVISION= 3
|
COMPONENT_SUMMARY= Libraries and binaries to parse and index mail messages
|
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
|
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
|
COMPONENT_ARCHIVE_HASH= \
|
sha256:ab80d6b9f5b3443e2c455a14ab93a5ece44edbc9b7226e5a6060a49b443e78b2
|
COMPONENT_ARCHIVE_URL= \
|
http://ftp.gnome.org/pub/GNOME/sources/$(COMPONENT_NAME)/2.5/$(COMPONENT_ARCHIVE)
|
COMPONENT_PROJECT_URL = https://www.gnome.org
|
|
include $(WS_MAKE_RULES)/prep.mk
|
include $(WS_MAKE_RULES)/configure.mk
|
include $(WS_MAKE_RULES)/ips.mk
|
|
PATH=$(PATH.gnu)
|
|
CONFIGURE_OPTIONS.32 += --libexecdir=/usr/lib
|
CONFIGURE_OPTIONS.64 += --libexecdir=/usr/lib/$(MACH64)
|
CONFIGURE_OPTIONS += --sysconfdir=/etc
|
|
COMPONENT_PREP_ACTION += \
|
cd $(@D); autoreconf --install --force
|
|
build: $(BUILD_32_and_64)
|
|
install: $(INSTALL_32_and_64)
|
|
test: $(TEST_32_and_64)
|
|
# Auto-generated dependencies
|
REQUIRED_PACKAGES += library/glib2
|
REQUIRED_PACKAGES += library/security/gpgme
|
REQUIRED_PACKAGES += library/zlib
|
REQUIRED_PACKAGES += system/library
|
REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc
|