# # 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.30 COMPONENT_SUMMARY= DjVu base libraries and utilities COMPONENT_PROJECT_URL= https://djvu.sourceforge.net/ COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz COMPONENT_ARCHIVE_HASH= sha256:ee5e457d4cfebe566f94b99e5e3d3cc7f5c79ddb741c2ac2ba2e456f00329644 COMPONENT_ARCHIVE_URL= http://downloads.sourceforge.net/djvu/$(COMPONENT_ARCHIVE) COMPONENT_FMRI= image/djvulibre COMPONENT_CLASSIFICATION= Applications/Graphics and Imaging COMPONENT_LICENSE= GPLv2 TEST_TARGET= $(NO_TESTS) include $(WS_MAKE_RULES)/common.mk COMPONENT_PREP_ACTION= ( cd $(@D) && autoreconf -fi ) # Dynamically create the license file from its sources: djvulibre.license: $(SOURCE_DIR)/COPYING $(SOURCE_DIR)/COPYRIGHT cat $? > $@ # Auto-generated dependencies REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG) REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG) REQUIRED_PACKAGES += $(JPEG_IMPLEM_PKG) REQUIRED_PACKAGES += image/library/libtiff REQUIRED_PACKAGES += shell/bash REQUIRED_PACKAGES += shell/ksh93 REQUIRED_PACKAGES += system/library REQUIRED_PACKAGES += system/library/math