From d063b8bce623990d135ffd4c2ab6ec0745fb1b05 Mon Sep 17 00:00:00 2001 From: Josef 'Jeff' Sipek Date: Sun, 1 Jul 2018 16:44:31 -0400 Subject: [PATCH] zip: add lzip component --- components/archiver/lzip/Makefile | 49 ++++++++++++++++++++++ components/archiver/lzip/lzip.p5m | 28 +++++++++++++ .../archiver/lzip/manifests/sample-manifest.p5m | 28 +++++++++++++ 3 files changed, 105 insertions(+) create mode 100644 components/archiver/lzip/Makefile create mode 100644 components/archiver/lzip/lzip.p5m create mode 100644 components/archiver/lzip/manifests/sample-manifest.p5m diff --git a/components/archiver/lzip/Makefile b/components/archiver/lzip/Makefile new file mode 100644 index 000000000..c1c5d6f69 --- /dev/null +++ b/components/archiver/lzip/Makefile @@ -0,0 +1,49 @@ +# +# 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 2018 Josef 'Jeff' Sipek +# + +include ../../../make-rules/shared-macros.mk + +COMPONENT_NAME= lzip +COMPONENT_VERSION= 1.20 +COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) +COMPONENT_PROJECT_URL= http://lzip.nongnu.org/ +COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz +COMPONENT_ARCHIVE_HASH= \ + sha256:c93b81a5a7788ef5812423d311345ba5d3bd4f5ebf1f693911e3a13553c1290c +COMPONENT_ARCHIVE_URL= http://download.savannah.gnu.org/releases/lzip/$(COMPONENT_ARCHIVE) +COMPONENT_FMRI= compress/lzip +COMPONENT_SUMMARY= 'Lzip - a lossless data compressor with a user interface similar to the one of gzip or bzip2' +COMPONENT_LICENSE= GPLv2+ +COMPONENT_LICENSE_FILE= COPYING +COMPONENT_CLASSIFICATION= Applications/System Utilities + +include $(WS_MAKE_RULES)/prep.mk +include $(WS_MAKE_RULES)/configure.mk +include $(WS_MAKE_RULES)/ips.mk + +build: $(BUILD_32_and_64) + +include $(WS_MAKE_RULES)/shared-targets.mk + +install: $(INSTALL_32_and_64) + +test: $(TEST_32_and_64) + +BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) + +include $(WS_MAKE_RULES)/depend.mk + +REQUIRED_PACKAGES += system/library +REQUIRED_PACKAGES += system/library/g++-4-runtime +REQUIRED_PACKAGES += system/library/gcc-4-runtime diff --git a/components/archiver/lzip/lzip.p5m b/components/archiver/lzip/lzip.p5m new file mode 100644 index 000000000..4c027818c --- /dev/null +++ b/components/archiver/lzip/lzip.p5m @@ -0,0 +1,28 @@ +# +# This file and its contents are supplied under the terms of the +# Common Development and Distribution License ("CDDL"), version 1.0. +# You may only use this file in accordance with the terms of version +# 1.0 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 2018 Josef 'Jeff' Sipek +# + +set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) +set name=pkg.summary value="$(COMPONENT_SUMMARY)" +set name=info.classification value="$(COMPONENT_CLASSIFICATION)" +set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) +set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) +set name=org.opensolaris.consolidation value=$(CONSOLIDATION) + +license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)' + +file path=usr/bin/$(MACH64)/lzip +file path=usr/bin/lzip +file path=usr/share/info/lzip.info +file path=usr/share/man/man1/lzip.1 diff --git a/components/archiver/lzip/manifests/sample-manifest.p5m b/components/archiver/lzip/manifests/sample-manifest.p5m new file mode 100644 index 000000000..756370ab3 --- /dev/null +++ b/components/archiver/lzip/manifests/sample-manifest.p5m @@ -0,0 +1,28 @@ +# +# This file and its contents are supplied under the terms of the +# Common Development and Distribution License ("CDDL"), version 1.0. +# You may only use this file in accordance with the terms of version +# 1.0 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 2017 +# + +set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) +set name=pkg.summary value="$(COMPONENT_SUMMARY)" +set name=info.classification value="$(COMPONENT_CLASSIFICATION)" +set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) +set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) +set name=org.opensolaris.consolidation value=$(CONSOLIDATION) + +license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)' + +file path=usr/bin/$(MACH64)/lzip +file path=usr/bin/lzip +file path=usr/share/info/lzip.info +file path=usr/share/man/man1/lzip.1 -- 2.11.4.GIT