thunderbird: update to 128.3.0
[oi-userland.git] / components / developer / quilt / Makefile
blobb25f60625e5bf77826c1bedb5b930aa43d81215c
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
23 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
24 # Copyright 2017, Aurelien Larcher.
27 BUILD_BITS= 64
28 include ../../../make-rules/shared-macros.mk
30 COMPONENT_NAME= quilt
31 COMPONENT_VERSION= 0.68
32 COMPONENT_SUMMARY= Quilt - tool to manage series of patches
33 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
34 COMPONENT_PROJECT_URL= https://savannah.nongnu.org/projects/quilt/
35 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
36 COMPONENT_ARCHIVE_HASH= sha256:fe8c09de03c106e85b3737c8f03ade147c956b79ed7af485a1c8a3858db38426
37 COMPONENT_ARCHIVE_URL= https://download.savannah.gnu.org/releases/quilt/$(COMPONENT_ARCHIVE)
38 COMPONENT_FMRI= developer/quilt
39 COMPONENT_CLASSIFICATION= Development/Source Code Management
40 COMPONENT_LICENSE= GPLv2
41 COMPONENT_LICENSE_FILE= COPYING
43 include $(WS_MAKE_RULES)/common.mk
45 PATH= $(PATH.gnu)
47 COMPONENT_PRE_CONFIGURE_ACTION = \
48 ($(CLONEY) $(SOURCE_DIR) $(@D))
50 COMPONENT_PREP_ACTION = \
51 (cd $(@D) ; autoconf )
53 PATCH_LEVEL= 0
55 # without this, some make messages end up in the
56 # generated README and man pages.
57 COMPONENT_BUILD_ARGS+= --no-print-directory
59 CONFIGURE_OPTIONS += --sysconfdir=$(ETCDIR)
60 CONFIGURE_OPTIONS += --with-cp=$(GNUBIN)/cp
61 CONFIGURE_OPTIONS += --with-date=$(GNUBIN)/date
62 CONFIGURE_OPTIONS += --with-getopt=$(GNUBIN)/getopt
63 CONFIGURE_OPTIONS += --with-grep=$(GNUBIN)/grep
64 CONFIGURE_OPTIONS += --with-tail=$(GNUBIN)/tail
65 CONFIGURE_OPTIONS += --with-tar=$(GNUBIN)/tar
66 CONFIGURE_OPTIONS += --with-tr=$(GNUBIN)/tr
67 CONFIGURE_OPTIONS += --with-sed=$(GNUBIN)/sed
68 CONFIGURE_OPTIONS += --with-diff=$(GNUBIN)/diff
69 CONFIGURE_OPTIONS += --with-find=$(GNUBIN)/find
70 CONFIGURE_OPTIONS += --with-patch=$(GNUBIN)/patch
71 CONFIGURE_OPTIONS += --with-column=$(USRBINDIR)/column
72 CONFIGURE_OPTIONS += --with-diffstat=$(USRBINDIR)/diffstat
73 CONFIGURE_OPTIONS += --with-perl=$(PERL)
74 CONFIGURE_OPTIONS += --with-pod2man=$(POD2MAN)
75 CONFIGURE_OPTIONS += --with-xgettext=/usr/bin/gxgettext
76 CONFIGURE_OPTIONS += --with-msgfmt=/usr/bin/gmsgfmt
77 CONFIGURE_OPTIONS += --without-rpmbuild
78 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
80 COMPONENT_INSTALL_ARGS += BUILD_ROOT=$(PROTO_DIR)
82 COMPONENT_TEST_TRANSFORMS += \
83 '-n ' \
84 '-e "/commands/p" ' \
86 # Auto-generated dependencies
87 PERL_REQUIRED_PACKAGES += runtime/perl
88 REQUIRED_PACKAGES += archiver/gnu-tar
89 REQUIRED_PACKAGES += compress/p7zip
90 REQUIRED_PACKAGES += file/gnu-coreutils
91 REQUIRED_PACKAGES += file/gnu-findutils
92 REQUIRED_PACKAGES += service/network/smtp/postfix
93 REQUIRED_PACKAGES += service/network/smtp/sendmail
94 REQUIRED_PACKAGES += shell/bash
95 REQUIRED_PACKAGES += shell/gnu-getopt
96 REQUIRED_PACKAGES += system/network/mailwrapper
97 REQUIRED_PACKAGES += text/diffstat
98 REQUIRED_PACKAGES += text/gawk
99 REQUIRED_PACKAGES += text/gnu-diffutils
100 REQUIRED_PACKAGES += text/gnu-grep
101 REQUIRED_PACKAGES += text/gnu-patch
102 REQUIRED_PACKAGES += text/gnu-sed
103 REQUIRED_PACKAGES += text/text-utilities