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]
23 # Copyright 2023 Andreas Wacknitz
27 include ..
/..
/..
/make-rules
/shared-macros.mk
29 COMPONENT_NAME
= moreutils
30 COMPONENT_VERSION
= 0.70
31 COMPONENT_SUMMARY
= moreutils is a collection of the unix tools that nobody thought to write long ago when unix was young
32 COMPONENT_PROJECT_URL
= https
://joeyh.name
/code
/moreutils
33 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
34 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
35 COMPONENT_ARCHIVE_HASH
= sha256
:f2bf46d410ba567cc8d01507e94916994e48742722e690dc498fab59f5250132
36 COMPONENT_ARCHIVE_URL
= https
://git.joeyh.name
/index.cgi
/moreutils.git
/snapshot
/$(COMPONENT_ARCHIVE
)
37 COMPONENT_FMRI
= utility
/$(COMPONENT_NAME
)
38 COMPONENT_CLASSIFICATION
= Applications
/System Utilities
39 COMPONENT_LICENSE
= GPLv2
40 COMPONENT_LICENSE_FILE
= COPYING
42 include $(WS_MAKE_RULES
)/common.mk
47 LDFLAGS
+= -lsocket
-lnsl
49 COMPONENT_BUILD_ENV
+= DOCBOOKXSL
="/usr/share/sgml/docbook/xsl-stylesheets"
51 COMPONENT_TEST_TRANSFORMS
= \
55 # Manually added build dependencies
56 REQUIRED_PACKAGES
+= data
/docbook
/xsl
58 # Auto-generated dependencies
59 REQUIRED_PACKAGES
+= runtime
/perl
60 REQUIRED_PACKAGES
+= system
/library