python/manuel: update to 1.13.0
[oi-userland.git] / components / image / dcraw / Makefile
blob4bb79c1a50e8957dafc9c8deef864948f8dd34b3
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright (c) 2015 Alexander Pyhalov
15 BUILD_STYLE= justmake
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= dcraw
19 COMPONENT_VERSION= 9.28.0
20 COMPONENT_REVISION= 2
21 COMPONENT_SUMMARY= dcraw - Decoding RAW digital photos
22 COMPONENT_PROJECT_URL= https://www.dechifro.org/dcraw/
23 COMPONENT_SRC= $(COMPONENT_NAME)
24 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:2890c3da2642cd44c5f3bfed2c9b2c1db83da5cec09cc17e0fa72e17541fb4b9
27 COMPONENT_ARCHIVE_URL= https://www.dechifro.org/dcraw/archive/$(COMPONENT_ARCHIVE)
28 COMPONENT_FMRI= image/dcraw
29 COMPONENT_CLASSIFICATION= System/Media
30 COMPONENT_LICENSE= GPLv2
32 TEST_TARGET= $(NO_TESTS)
33 include $(WS_MAKE_RULES)/common.mk
35 COMPONENT_PREP_ACTION= ( cd $(@D) && rm -f install )
37 # build with the distribution preferred libjpeg implementation
38 CFLAGS += $(JPEG_CPPFLAGS) $(JPEG_CFLAGS)
39 CXXFLAGS += $(JPEG_CPPFLAGS) $(JPEG_CXXFLAGS)
40 LDFLAGS += $(JPEG_LDFLAGS)
42 COMPONENT_BUILD_ARGS += CC=$(CC)
43 COMPONENT_BUILD_ARGS += CXX=$(CXX)
44 COMPONENT_BUILD_ARGS += CFLAGS="$(CFLAGS)"
45 COMPONENT_BUILD_ARGS += LDFLAGS="$(LDFLAGS)"
47 # Auto-generated dependencies
48 REQUIRED_PACKAGES += $(JPEG_IMPLEM_PKG)
49 REQUIRED_PACKAGES += codec/jasper
50 REQUIRED_PACKAGES += library/lcms2
51 REQUIRED_PACKAGES += system/library
52 REQUIRED_PACKAGES += system/library/math