4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
22 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
25 BUILD_STYLE
= justmake
27 include ..
/..
/..
/make-rules
/shared-macros.mk
30 COMPONENT_VERSION
= 6.0
32 COMPONENT_SRC
= $(COMPONENT_NAME
)60
33 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).tgz
34 COMPONENT_ARCHIVE_HASH
= \
35 sha256
:036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37
36 COMPONENT_ARCHIVE_URL
= ftp
://ftp.info-zip.org
/pub
/infozip
/src
/$(COMPONENT_ARCHIVE
)
37 COMPONENT_PROJECT_URL
= http
://www.info-zip.org
/UnZip.html
38 COMPONENT_BUGDB
= utility
/zip
39 COMPONENT_FMRI
= compress
/unzip
43 include $(WS_MAKE_RULES
)/common.mk
45 # remove the unwanted file.
46 COMPONENT_PREP_ACTION
= $(RM
) $(SOURCE_DIR
)/crc_i386.S
48 COMPONENT_BUILD_ENV
+= \
49 "LOCAL_UNZIP=-DUNICODE_SUPPORT -DNO_WORKING_ISPRINT -DUNICODE_WCHAR -DNO_LCHMOD"
51 # The Makefile we want is under unix/Makefile
52 COMPONENT_BUILD_ARGS
+= -f unix
/Makefile
53 COMPONENT_BUILD_TARGETS
+= generic CC
="$(CC) $(CC_BITS)"
54 COMPONENT_INSTALL_ARGS
+= -f unix
/Makefile
55 COMPONENT_TEST_ARGS
+= -f unix
/Makefile
57 # This doesn't respect DESTDIR, so overload BINDIR and MANDIR when we install.
58 COMPONENT_INSTALL_ARGS
+= BINDIR
=$(PROTOUSRBINDIR
)
59 COMPONENT_INSTALL_ARGS
+= MANDIR
=$(PROTOUSRSHAREMAN1DIR
)
61 BUILD_PKG_DEPENDENCIES
= $(BUILD_TOOLS
)
63 # Auto-generated dependencies
64 REQUIRED_PACKAGES
+= shell/ksh93
65 REQUIRED_PACKAGES
+= system
/library