iigs
2024-03-27 32d98a3796b058e946d5d41ed5637129c312a8e9
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
37
38
39
40
41
42
43
44
45
46
#
# 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 2016-2017 Aurelien Larcher
#
 
include ../../../make-rules/shared-macros.mk
 
COMPONENT_NAME=           release
COMPONENT_VERSION=        0.$(PKG_SOLARIS_VERSION)    
COMPONENT_REVISION=       18
COMPONENT_SUMMARY=        OpenIndiana Release Files 
COMPONENT_PROJECT_URL=    https://www.openindiana.org/
COMPONENT_FMRI=           release
COMPONENT_CLASSIFICATION= System/Core
COMPONENT_LICENSE=        CDDLv1.0
COMPONENT_LICENSE_FILE=   $(COMPONENT_NAME).license    
 
include $(WS_MAKE_RULES)/ips.mk
 
RELEASE_DATE=$(shell LC_ALL=C date +'%d %B %Y')
 
download:
 
prep:
 
build:
 
install:
    [ -d $(PROTO_DIR) ] || mkdir -p $(PROTO_DIR)
    mkdir -p $(PROTO_DIR)$(ETCDIR) && \
    cat files/release | \
        sed -e 's|\%\%DATE\%\%|$(RELEASE_DATE)|' \
            -e 's|\%\%DISTRIBUTION_NAME\%\%|$(DISTRIBUTION_NAME)|' \
            -e 's|\%\%DISTRIBUTION_VERSION\%\%|$(DISTRIBUTION_VERSION)|' > $(PROTO_DIR)$(ETCDIR)/release
 
clean:
    $(RM) -r $(BUILD_DIR) $(PROTO_DIR)