rebuild gst-plugins-good1 for libvpx-1.15.0; fix gcc-14 problem
[oi-userland.git] / components / archiver / zip / Makefile
blob03f9600d61be0d5c2e9992e1e834ad9e3b0a47c7
2 # CDDL HEADER START
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]
19 # CDDL HEADER END
22 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
24 BUILD_STYLE= justmake
25 include ../../../make-rules/shared-macros.mk
27 COMPONENT_NAME= zip
28 COMPONENT_VERSION= 3.0
29 COMPONENT_REVISION= 2
30 COMPONENT_SUMMARY= The Info-Zip (zip) compression utility
31 COMPONENT_PROJECT_URL= http://www.info-zip.org/Zip.html
32 COMPONENT_SRC= $(COMPONENT_NAME)30
33 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tgz
34 COMPONENT_ARCHIVE_HASH= sha256:f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369
35 COMPONENT_ARCHIVE_URL= ftp://ftp.info-zip.org/pub/infozip/src/$(COMPONENT_ARCHIVE)
36 COMPONENT_FMRI= compress/zip
37 COMPONENT_CLASSIFICATION= Applications/System Utilities
38 COMPONENT_LICENSE= Info-ZIP
39 COMPONENT_LICENSE_FILE= info-zip.license
41 TEST_TARGET= $(NO_TESTS)
42 include $(WS_MAKE_RULES)/common.mk
44 LD_OPTIONS=
46 # remove the unwanted file.
47 COMPONENT_PREP_ACTION = rm -f $(SOURCE_DIR)/match.S
49 # The Makefile we want is under unix/Makefile
50 COMPONENT_BUILD_ARGS += -f unix/Makefile
51 COMPONENT_BUILD_TARGETS += generic CC="$(CC) $(CC_BITS)"
52 COMPONENT_INSTALL_ARGS += -f unix/Makefile
54 # This doesn't respect DESTDIR, so overload BINDIR and MANDIR when we install.
55 COMPONENT_INSTALL_ARGS += BINDIR=$(PROTOUSRBINDIR)
56 COMPONENT_INSTALL_ARGS += MANDIR=$(PROTOUSRSHAREMAN1DIR)
58 # Auto-generated dependencies
59 REQUIRED_PACKAGES += compress/bzip2
60 REQUIRED_PACKAGES += system/library