Project

General

Profile

Bug #11937 » Makefile.utf-8

Gary Mills, 2019-11-06 06:42 PM

 
1
#
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.
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 2019 Gary Mills
13
# Copyright 2012, Andrzej Szeszo
14
#
15

    
16
include ../../../make-rules/shared-macros.mk
17

    
18
COMPONENT_NAME=		utf-8
19
COMPONENT_VERSION=	0.5.11
20
COMPONENT_SRC=		$(COMPONENT_NAME)
21
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
22
# below is required for userland-fetch to bahave
23
COMPONENT_ARCHIVE_URL=blah
24

    
25
download::
26
	$(IPS2TGZ) $(COMPONENT_SRC) $(USERLAND_ARCHIVES)$(COMPONENT_ARCHIVE) http://pkg.openindiana.org/legacy \
27
	pkg:/system/library/iconv/utf-8@0.5.11,5.11-0.134:20100302T055256Z
28

    
29
include ../../../make-rules/prep.mk
30
include ../../../make-rules/ips.mk
31

    
32
build:	prep
33

    
34
install:	build
35
	@$(MKDIR) $(PROTO_DIR)
36
	@$(CP) -RP $(COMPONENT_SRC)/$(MACH)/* $(PROTO_DIR) || true
37

    
38
clean::
39
	$(RM) -r $(SOURCE_DIR) $(BUILD_DIR)
40

    
41
# Auto-generated dependencies
42
REQUIRED_PACKAGES += system/library
43
REQUIRED_PACKAGES += system/library/math
(1-1/3)