Andreas Wacknitz
2024-04-05 ac4c8f5b8ab57563cc350482b75a32a55871d58c
commit | author | age
785791 1 #
AS 2 # This file and its contents are supplied under the terms of the
a14fd0 3 # Common Development and Distribution License ("CDDL"). You may
785791 4 # only use this file in accordance with the terms of the CDDL.
AS 5 #
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
9 #
10
11 #
12 # Copyright 2011, 2013, EveryCity Ltd. All rights reserved.
dc88f1 13 # Copyright 2016, Adam Stevko, All rights reserved.
def6c5 14 # Copyright 2019, Michal Nowak
785791 15 #
AS 16
dc88f1 17 include ../../../make-rules/shared-macros.mk
785791 18
AS 19 COMPONENT_NAME=        nasm
ac4c8f 20 COMPONENT_VERSION=    2.16.2
AW 21 HUMAN_VERSION=        2.16.02
793a09 22 COMPONENT_SUMMARY=    The Netwide Assembler
0cd8fc 23 COMPONENT_PROJECT_URL=    https://www.nasm.us/
397232 24 COMPONENT_SRC=        $(COMPONENT_NAME)-$(HUMAN_VERSION)
78000f 25 COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.xz
ac4c8f 26 COMPONENT_ARCHIVE_HASH= sha256:1e1b942ea88f22edae89659e15be26fa027eae0747f51413540f52d4eac4790d
397232 27 COMPONENT_ARCHIVE_URL=    https://www.nasm.us/pub/nasm/releasebuilds/$(HUMAN_VERSION)/$(COMPONENT_ARCHIVE)
AW 28 COMPONENT_FMRI=        developer/assembler/nasm
29 COMPONENT_CLASSIFICATION=    Development/Other Languages
793a09 30 COMPONENT_LICENSE=    BSD
ac4c8f 31 COMPONENT_LICENSE_FILE=    LICENSE
785791 32
0cd8fc 33 include $(WS_MAKE_RULES)/common.mk
785791 34
397232 35 CFLAGS  += "-I$(BUILD_DIR_$(BITS))"
def6c5 36
397232 37 COMPONENT_PRE_CONFIGURE_ACTION= ( $(CLONEY) $(SOURCE_DIR) $(@D) )
793a09 38
397232 39 COMPONENT_POST_CONFIGURE_ACTION += ( mkdir -p $(BUILD_DIR_64)/lib )
1824ea 40
785791 41 COMPONENT_INSTALL_ENV += INSTALLROOT="$(PROTO_DIR)"
AS 42
397232 43 COMPONENT_TEST_TARGETS= golden test diff
def6c5 44
397232 45 COMPONENT_TEST_DIR= $(@D)/test
793a09 46
AL 47 # Auto-generated dependencies
48 REQUIRED_PACKAGES += system/library