commit | author | age
|
0d9dfc
|
1 |
# |
AW |
2 |
# CDDL HEADER START |
|
3 |
# |
|
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. |
|
7 |
# |
|
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. |
|
12 |
# |
|
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] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
|
21 |
|
|
22 |
# |
|
23 |
# Copyright 2023 Andreas Wacknitz |
|
24 |
# |
|
25 |
|
|
26 |
BUILD_STYLE= justmake |
|
27 |
include ../../../make-rules/shared-macros.mk |
|
28 |
|
|
29 |
COMPONENT_NAME= moreutils |
a50d2e
|
30 |
COMPONENT_VERSION= 0.69 |
0d9dfc
|
31 |
COMPONENT_SUMMARY= moreutils is a collection of the unix tools that nobody thought to write long ago when unix was young |
AW |
32 |
COMPONENT_PROJECT_URL= https://joeyh.name/code/moreutils |
|
33 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
|
34 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
a50d2e
|
35 |
COMPONENT_ARCHIVE_HASH= sha256:0f795d25356ca61544966646fb707d5be0b9864116be0269df5433f62d4e05d1 |
0d9dfc
|
36 |
COMPONENT_ARCHIVE_URL= https://git.joeyh.name/index.cgi/moreutils.git/snapshot/$(COMPONENT_ARCHIVE) |
AW |
37 |
COMPONENT_FMRI= utility/$(COMPONENT_NAME) |
|
38 |
COMPONENT_CLASSIFICATION= Applications/System Utilities |
|
39 |
COMPONENT_LICENSE= GPLv2 |
|
40 |
COMPONENT_LICENSE_FILE= COPYING |
|
41 |
|
|
42 |
include $(WS_MAKE_RULES)/common.mk |
|
43 |
|
|
44 |
PATH = $(PATH.gnu) |
|
45 |
|
|
46 |
CFLAGS += $(CPP_XPG6MODE) |
|
47 |
LDFLAGS += -lsocket -lnsl |
|
48 |
|
8f69b7
|
49 |
COMPONENT_BUILD_ENV += DOCBOOKXSL="/usr/share/sgml/docbook/xsl-stylesheets" |
AW |
50 |
|
0d9dfc
|
51 |
COMPONENT_TEST_TRANSFORMS = \ |
AW |
52 |
' -n ' \ |
|
53 |
' -e "/OK/p" ' |
|
54 |
|
|
55 |
# Manually added build dependencies |
|
56 |
REQUIRED_PACKAGES += data/docbook/xsl |
|
57 |
|
|
58 |
# Auto-generated dependencies |
|
59 |
REQUIRED_PACKAGES += runtime/perl |
|
60 |
REQUIRED_PACKAGES += system/library |