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 2014 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
15 include ..
/..
/make-rules
/shared-macros.mk
17 COMPONENT_NAME
= sloccount
18 COMPONENT_VERSION
= 2.26
19 COMPONENT_PROJECT_URL
= http
://www.dwheeler.com
/sloccount
/
20 COMPONENT_FMRI
= text
/sloccount
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
23 COMPONENT_ARCHIVE_HASH
= \
24 sha256
:fa7fa2bbf2f627dd2d0fdb958bd8ec4527231254c120a8b4322405d8a4e3d12b
25 COMPONENT_ARCHIVE_URL
= http
://www.dwheeler.com
/sloccount
/$(COMPONENT_ARCHIVE
)
26 COMPONENT_LICENSE
= GPLv2
+
27 COMPONENT_LICENSE_FILE
= $(COMPONENT_NAME
).license
28 COMPONENT_SUMMARY
= SLOCCount a set of tools for counting physical Source Lines of Code
(SLOC
)
29 COMPONENT_CLASSIFICATION
=System
/Text Tools
31 include ..
/..
/make-rules
/prep.mk
32 include ..
/..
/make-rules
/justmake.mk
33 include ..
/..
/make-rules
/ips.mk
35 COMPONENT_BUILD_ENV
+= CC
=$(CC
)
37 COMPONENT_INSTALL_ENV
+= INSTALL
=$(INSTALL
)
38 COMPONENT_INSTALL_ENV
+= PREFIX
=$(PROTO_DIR
)/usr
42 install: $(INSTALL_32
)
46 BUILD_PKG_DEPENDENCIES
= $(BUILD_TOOLS
)
48 include ..
/..
/make-rules
/depend.mk