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 2015 Aurelien Larcher
15 # disable CONFIGURE_DEFAULT_DIRS, because libjpeg6-ijg does not support --localdir
16 CONFIGURE_DEFAULT_DIRS
=no
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= libjpeg6-ijg
22 COMPONENT_VERSION
= 6.0.2
23 LIBJPEG_API_VERSION
= 6b
25 COMPONENT_FMRI
= image
/library
/libjpeg6-ijg
26 COMPONENT_PROJECT_URL
= http
://www.ijg.org
/
27 COMPONENT_SUMMARY
= libjpeg
- Independent JPEG Group library version
6b
28 COMPONENT_SRC
= jpeg-
$(LIBJPEG_API_VERSION
)
29 COMPONENT_ARCHIVE
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
).
tar.gz
30 COMPONENT_ARCHIVE_HASH
= \
31 sha256
:75c3ec241e9996504fe02a9ed4d12f16b74ade713972f3db9e65ce95cd27e35d
32 COMPONENT_ARCHIVE_URL
= http
://www.ijg.org
/files
/jpegsrc.v
$(LIBJPEG_API_VERSION
).
tar.gz
33 COMPONENT_LICENSE
= IJG
,GPLv2.0
34 COMPONENT_CLASSIFICATION
=System
/Multimedia Libraries
36 include $(WS_MAKE_RULES
)/common.mk
38 CONFIGURE_DEFAULT_DIRS
=no
40 CONFIGURE_OPTIONS
+= --enable-shared
41 CONFIGURE_OPTIONS
+= --disable-static
42 CONFIGURE_OPTIONS
+= --mandir=$(CONFIGURE_MANDIR
)
43 CONFIGURE_OPTIONS
+= --includedir=$(CONFIGURE_INCLUDEDIR
)/$(COMPONENT_NAME
)
44 CONFIGURE_OPTIONS
.32+= --bindir=$(USRLIBDIR
)/$(COMPONENT_NAME
)/bin
45 CONFIGURE_OPTIONS
.32+= --libdir=$(USRLIBDIR
)/$(COMPONENT_NAME
)/lib
46 CONFIGURE_OPTIONS
.64+= --bindir=$(USRLIBDIR
)/$(COMPONENT_NAME
)/bin
/$(MACH64
)
47 CONFIGURE_OPTIONS
.64+= --libdir=$(USRLIBDIR
)/$(COMPONENT_NAME
)/lib
/$(MACH64
)
49 # Auto-generated dependencies
50 REQUIRED_PACKAGES
+= system
/library