zip: add lzip component
[unleashed-userland.git] / components / archiver / lzip / Makefile
blobc1c5d6f69fce2ef10c87a42a81bc099cc96d1294
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 2018 Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
15 include ../../../make-rules/shared-macros.mk
17 COMPONENT_NAME= lzip
18 COMPONENT_VERSION= 1.20
19 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
20 COMPONENT_PROJECT_URL= http://lzip.nongnu.org/
21 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
22 COMPONENT_ARCHIVE_HASH= \
23 sha256:c93b81a5a7788ef5812423d311345ba5d3bd4f5ebf1f693911e3a13553c1290c
24 COMPONENT_ARCHIVE_URL= http://download.savannah.gnu.org/releases/lzip/$(COMPONENT_ARCHIVE)
25 COMPONENT_FMRI= compress/lzip
26 COMPONENT_SUMMARY= 'Lzip - a lossless data compressor with a user interface similar to the one of gzip or bzip2'
27 COMPONENT_LICENSE= GPLv2+
28 COMPONENT_LICENSE_FILE= COPYING
29 COMPONENT_CLASSIFICATION= Applications/System Utilities
31 include $(WS_MAKE_RULES)/prep.mk
32 include $(WS_MAKE_RULES)/configure.mk
33 include $(WS_MAKE_RULES)/ips.mk
35 build: $(BUILD_32_and_64)
37 include $(WS_MAKE_RULES)/shared-targets.mk
39 install: $(INSTALL_32_and_64)
41 test: $(TEST_32_and_64)
43 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
45 include $(WS_MAKE_RULES)/depend.mk
47 REQUIRED_PACKAGES += system/library
48 REQUIRED_PACKAGES += system/library/g++-4-runtime
49 REQUIRED_PACKAGES += system/library/gcc-4-runtime