#
|
# 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.
|
# Copyright 2017 Aurelien Larcher. All rights reserved.
|
#
|
|
include ../../../make-rules/shared-macros.mk
|
|
COMPONENT_NAME= djvulibre
|
COMPONENT_VERSION= 3.5.27
|
COMPONENT_FMRI= image/djvulibre
|
COMPONENT_SUMMARY= DjVu base libraries and utilities
|
COMPONENT_CLASSIFICATION= Applications/Graphics and Imaging
|
COMPONENT_PROJECT_URL = http://djvu.sourceforge.net/
|
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
|
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
|
COMPONENT_ARCHIVE_HASH= \
|
sha256:e69668252565603875fb88500cde02bf93d12d48a3884e472696c896e81f505f
|
COMPONENT_ARCHIVE_URL= \
|
http://downloads.sourceforge.net/project/djvu/DjVuLibre/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
|
COMPONENT_LICENSE= GPLv2
|
|
include $(WS_MAKE_RULES)/prep.mk
|
include $(WS_MAKE_RULES)/configure.mk
|
include $(WS_MAKE_RULES)/ips.mk
|
|
# build with the distribution preferred libjpeg implementation
|
CFLAGS += $(JPEG_CPPFLAGS) $(JPEG_CFLAGS)
|
CXXFLAGS += $(JPEG_CPPFLAGS) $(JPEG_CXXFLAGS)
|
LDFLAGS += $(JPEG_LDFLAGS)
|
|
CONFIGURE_BINDIR.64= $(CONFIGURE_BINDIR.32)
|
|
build: $(BUILD_32_and_64)
|
|
install: $(INSTALL_32_and_64)
|
|
test: $(TEST_32_and_64)
|
|
# Auto-generated dependencies
|
REQUIRED_PACKAGES += image/library/libjpeg8-turbo
|
REQUIRED_PACKAGES += image/library/libtiff
|
REQUIRED_PACKAGES += shell/bash
|
REQUIRED_PACKAGES += SUNWcs
|
REQUIRED_PACKAGES += system/library
|
REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
|
REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
|
REQUIRED_PACKAGES += system/library/math
|