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 (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
24 # Copyright (c) 2019, Nona Hansel
25 # Copyright (c) 2022, Andreas Wacknitz
28 include ..
/..
/..
/make-rules
/shared-macros.mk
30 COMPONENT_NAME
= hexedit
31 COMPONENT_VERSION
= 1.6
32 COMPONENT_SUMMARY
= Hexedit
- a command-line binary file editor
33 COMPONENT_PROJECT_URL
= https
://github.com
/pixel
/$(COMPONENT_NAME
)
34 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
35 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
36 COMPONENT_ARCHIVE_HASH
= sha256
:598906131934f88003a6a937fab10542686ce5f661134bc336053e978c4baae3
37 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/archive
/refs
/tags/$(COMPONENT_VERSION
).
tar.gz
38 COMPONENT_FMRI
= editor
/$(COMPONENT_NAME
)
39 COMPONENT_CLASSIFICATION
= Applications
/System Utilities
40 COMPONENT_LICENSE
= GPLv2
42 TEST_TARGET
= $(NO_TESTS
)
43 include $(WS_MAKE_RULES
)/common.mk
45 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && NOCONFIGURE
=1 .
/autogen.sh
)
47 COMPONENT_PRE_CONFIGURE_ACTION
= \
48 ($(CLONEY
) $(SOURCE_DIR
) $(@D
))
50 CFLAGS
+= -I
/usr
/include/ncurses
52 ASLR_MODE
= $(ASLR_ENABLE
)
54 # Auto-generated dependencies
55 REQUIRED_PACKAGES
+= system
/library