David Stes
2024-03-31 8cdd197ba643eb2608c5aab87567625bb9336cee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"). You may
# only use this file in accordance with the terms of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
 
#
# Copyright (c) 2016, 2017, Wiselabs Software Ltda. All rights reserved.
#
BUILD_STYLE=justmake
BUILD_BITS=64
include ../../../make-rules/shared-macros.mk
 
COMPONENT_NAME=         aget
COMPONENT_VERSION=      0.4.1
COMPONENT_REVISION=     2
COMPONENT_PROJECT_URL=  http://www.enderunix.org/aget
COMPONENT_SRC=          $(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
COMPONENT_ARCHIVE_HASH= \
    sha256:d17393c7f44aab38028ae71f14b572ba1839b6e085fb2092b6ebe68bc931df4d
COMPONENT_ARCHIVE_URL=  http://www.enderunix.org/aget/$(COMPONENT_ARCHIVE)
 
include $(WS_MAKE_RULES)/common.mk
 
CFLAGS+= -std=c89
 
COMPONENT_PREP_ACTION = ( $(CP) $(SOURCE_DIR)/Makefile.Solaris $(SOURCE_DIR)/Makefile )
COMPONENT_INSTALL_ARGS += PREFIX=$(PROTOUSRDIR)
COMPONENT_BUILD_ENV += BITS=$(BITS) CC=$(CC) CFLAGS="$(CFLAGS)"
 
REQUIRED_PACKAGES += system/library