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) 2013 Alexander Pyhalov
17 SINGLE_PERL_VERSION
= yes
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= ipcalc
21 COMPONENT_VERSION
= 0.51
22 COMPONENT_PROJECT_URL
= https
://jodies.de
/ipcalc
23 COMPONENT_SUMMARY
= IP Calculator
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
26 COMPONENT_ARCHIVE_HASH
= sha256
:a4dbfaeb7511b81830793ab9936bae9d7b1b561ad33e29106faaaf97ba1c117e
27 COMPONENT_ARCHIVE_URL
= https
://github.com
/kjokjo
/$(COMPONENT_NAME
)/archive
/refs
/tags/$(COMPONENT_VERSION
).
tar.gz
28 COMPONENT_FMRI
= network
/$(COMPONENT_NAME
)
29 COMPONENT_CLASSIFICATION
= Applications
/Internet
30 COMPONENT_LICENSE
= GPLv2
31 COMPONENT_LICENSE_FILE
= license
33 BUILD_TARGET
= $(BUILD_
$(MK_BITS
))
34 INSTALL_TARGET
= $(INSTALL_
$(MK_BITS
))
36 include $(WS_MAKE_RULES
)/common.mk
38 CLEAN_PATHS
+= $(BUILD_DIR
)
40 $(BUILD_
$(MK_BITS
)): $(SOURCE_DIR
)/.prep
44 $(INSTALL_
$(MK_BITS
)): $(BUILD_
$(MK_BITS
))
45 $(MKDIR
) $(PROTO_DIR
)/usr
/bin
46 cp
$(SOURCE_DIR
)/ipcalc
$(PROTO_DIR
)/usr
/bin
/ipcalc
49 # Auto-generated dependencies
50 REQUIRED_PACKAGES
+= runtime
/perl