component(developer/golang-123): Add Component
[oi-userland.git] / components / web / aget / Makefile
blob9b016d24320ab6ef8a725b0cd86d133bc41464ef
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
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.
12 # Copyright (c) 2016, 2017, Wiselabs Software Ltda. All rights reserved.
14 BUILD_STYLE=justmake
15 BUILD_BITS=64
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= aget
19 COMPONENT_VERSION= 0.4.1
20 COMPONENT_REVISION= 2
21 COMPONENT_PROJECT_URL= http://www.enderunix.org/aget
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:d17393c7f44aab38028ae71f14b572ba1839b6e085fb2092b6ebe68bc931df4d
26 COMPONENT_ARCHIVE_URL= http://www.enderunix.org/aget/$(COMPONENT_ARCHIVE)
28 include $(WS_MAKE_RULES)/common.mk
30 CFLAGS+= -std=c89
32 COMPONENT_PREP_ACTION = ( $(CP) $(SOURCE_DIR)/Makefile.Solaris $(SOURCE_DIR)/Makefile )
33 COMPONENT_INSTALL_ARGS += PREFIX=$(PROTOUSRDIR)
34 COMPONENT_BUILD_ENV += BITS=$(BITS) CC=$(CC) CFLAGS="$(CFLAGS)"
36 REQUIRED_PACKAGES += system/library