author | Niveditha Rau <Niveditha.Rau@Oracle.COM> |
Mon, 17 Apr 2017 19:38:06 -0700 | |
changeset 7895 | db578176fc80 |
parent 7687 | 1093e2a9adbd |
permissions | -rw-r--r-- |
5622
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
1 |
# |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
3 |
# |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
7 |
# |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
12 |
# |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
18 |
# |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
20 |
# |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
21 |
|
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
22 |
# |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
6552
diff
changeset
|
23 |
# Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. |
5622
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
24 |
# |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
25 |
|
6412
4e700eaededa
23858100 jpegtran lost in move of libjpeg to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
5622
diff
changeset
|
26 |
BUILD_BITS = 64_and_32 |
5622
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
27 |
COMPILER = gcc |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
28 |
|
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
29 |
include ../../../make-rules/shared-macros.mk |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
30 |
|
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
31 |
COMPONENT_NAME= jpeg |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
32 |
COMPONENT_VERSION= 6.0.2 |
7895
db578176fc80
25892436 update libjpeg to v6b2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
7687
diff
changeset
|
33 |
HUMAN_VERSION= v6b2 |
5622
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
34 |
COMPONENT_PROJECT_URL= https://sourceforge.net/projects/libjpeg/ |
7895
db578176fc80
25892436 update libjpeg to v6b2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
7687
diff
changeset
|
35 |
COMPONENT_SRC= jpeg-6b2 |
5622
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
36 |
COMPONENT_SRC_NAME= jpegsrc.$(HUMAN_VERSION) |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
37 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC_NAME).tar.gz |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
38 |
COMPONENT_ARCHIVE_HASH= \ |
7895
db578176fc80
25892436 update libjpeg to v6b2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
7687
diff
changeset
|
39 |
sha256:6d2be0db82dda2e50c908b72aa22ed8cf42cc5aa5ae5f2b081498be6ef16eabc |
db578176fc80
25892436 update libjpeg to v6b2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
7687
diff
changeset
|
40 |
COMPONENT_ARCHIVE_URL= http://jpegclub.org/support/files/$(COMPONENT_ARCHIVE) |
5622
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
41 |
COMPONENT_BUGDB= library/libjpeg |
7687
1093e2a9adbd
25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents:
6552
diff
changeset
|
42 |
COMPONENT_ANITYA_ID= 1628 |
5622
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
43 |
|
7895
db578176fc80
25892436 update libjpeg to v6b2
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
7687
diff
changeset
|
44 |
TPNO= 34809 |
5622
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
45 |
|
6412
4e700eaededa
23858100 jpegtran lost in move of libjpeg to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
5622
diff
changeset
|
46 |
include $(WS_MAKE_RULES)/common.mk |
5622
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
47 |
|
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
48 |
LDFLAGS += $(CC_BITS) |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
49 |
|
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
50 |
CONFIGURE_OPTIONS += --enable-shared |
6412
4e700eaededa
23858100 jpegtran lost in move of libjpeg to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
5622
diff
changeset
|
51 |
|
4e700eaededa
23858100 jpegtran lost in move of libjpeg to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
5622
diff
changeset
|
52 |
CONFIGURE_ENV += INSTALL="$(INSTALL) -D" |
5622
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
53 |
|
6412
4e700eaededa
23858100 jpegtran lost in move of libjpeg to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
5622
diff
changeset
|
54 |
# Prevent libtool from embedding runpath (via -R). |
4e700eaededa
23858100 jpegtran lost in move of libjpeg to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
5622
diff
changeset
|
55 |
COMPONENT_POST_CONFIGURE_ACTION += \ |
4e700eaededa
23858100 jpegtran lost in move of libjpeg to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
5622
diff
changeset
|
56 |
$(GSED) -i -e 's/hardcode_into_libs=yes/hardcode_into_libs=no/' $(@D)/libtool; \ |
4e700eaededa
23858100 jpegtran lost in move of libjpeg to Userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
5622
diff
changeset
|
57 |
$(GSED) -i -e 's/hardcode_libdir_flag_spec=.*/hardcode_libdir_flag_spec=""/' $(@D)/libtool; |
5622
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
58 |
|
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
59 |
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
60 |
|
b0275c75884a
22916341 move libjpeg from desktop to userland
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents:
diff
changeset
|
61 |
REQUIRED_PACKAGES += shell/ksh93 |