diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2013-08-17 02:24:38 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2013-08-17 02:24:38 +0000 |
commit | a69e7e03babe86e840c9f819666bf5cf56f152df (patch) | |
tree | ae8082eba071199b2abdf9960c4f46e4ba29c7d0 /archivers | |
parent | 1e0c2b11775e438dd2413de8faa7e40b55b8ac18 (diff) | |
download | ports-a69e7e03babe86e840c9f819666bf5cf56f152df.tar.gz ports-a69e7e03babe86e840c9f819666bf5cf56f152df.zip |
Notes
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/Makefile | 1 | ||||
-rw-r--r-- | archivers/lz4/Makefile | 21 | ||||
-rw-r--r-- | archivers/lz4/distinfo | 2 | ||||
-rw-r--r-- | archivers/lz4/files/patch-Makefile | 10 | ||||
-rw-r--r-- | archivers/lz4/patch-Makefile | 18 | ||||
-rw-r--r-- | archivers/lz4/pkg-descr | 6 |
6 files changed, 58 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile index 18769dbd21ba..eee4428061bd 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -70,6 +70,7 @@ SUBDIR += linux-f10-ucl SUBDIR += linux-f10-upx SUBDIR += lrzip + SUBDIR += lz4 SUBDIR += lzip SUBDIR += lzlib SUBDIR += lzma diff --git a/archivers/lz4/Makefile b/archivers/lz4/Makefile new file mode 100644 index 000000000000..a5adb55bc974 --- /dev/null +++ b/archivers/lz4/Makefile @@ -0,0 +1,21 @@ +# Created by: Alexey Degtyarev <alexey@renatasystems.org> +# $FreeBSD$ + +PORTNAME= lz4 +PORTVERSION= r101 +CATEGORIES= archivers +MASTER_SITES= https://dl.dropboxusercontent.com/u/59565338/LZ4/ \ + ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/ + +MAINTAINER= alexey@renatasystems.org +COMMENT= Fast compressor using LZ4 algorithm + +USES= gmake +ALL_TARGET= lz4c + +PLIST_FILES= bin/lz4c + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/lz4c.exe ${PREFIX}/bin/lz4c + +.include <bsd.port.mk> diff --git a/archivers/lz4/distinfo b/archivers/lz4/distinfo new file mode 100644 index 000000000000..976663535fa2 --- /dev/null +++ b/archivers/lz4/distinfo @@ -0,0 +1,2 @@ +SHA256 (lz4-r101.tar.gz) = db645ba773002b40394875779d35c447450fcf0c459968a0776899f0c7d1435c +SIZE (lz4-r101.tar.gz) = 128678 diff --git a/archivers/lz4/files/patch-Makefile b/archivers/lz4/files/patch-Makefile new file mode 100644 index 000000000000..522ae207f896 --- /dev/null +++ b/archivers/lz4/files/patch-Makefile @@ -0,0 +1,10 @@ +--- Makefile.orig 2013-08-17 10:13:57.000000000 +0800 ++++ Makefile 2013-08-17 10:14:10.000000000 +0800 +@@ -1,5 +1,5 @@ +-CC=gcc +-CFLAGS=-I. -std=c99 -Wall -W -Wundef -Wno-implicit-function-declaration ++CC:=$(CC) ++CFLAGS:=-I. -std=c99 -Wall -W -Wundef -Wno-implicit-function-declaration + + OS := $(shell uname) + ifeq ($(OS),Linux) diff --git a/archivers/lz4/patch-Makefile b/archivers/lz4/patch-Makefile new file mode 100644 index 000000000000..cd2fbd6e7834 --- /dev/null +++ b/archivers/lz4/patch-Makefile @@ -0,0 +1,18 @@ +--- Makefile.orig 2013-08-08 02:43:06.000000000 +0800 ++++ Makefile 2013-08-17 10:11:19.000000000 +0800 +@@ -1,12 +1,7 @@ +-CC=gcc +-CFLAGS=-I. -std=c99 -Wall -W -Wundef -Wno-implicit-function-declaration ++CC:=$(CC) ++CFLAGS+=-I. -std=c99 -Wall -W -Wundef -Wno-implicit-function-declaration + +-OS := $(shell uname) +-ifeq ($(OS),Linux) +-EXT = +-else +-EXT =.exe +-endif ++EXT= + + default: lz4c + diff --git a/archivers/lz4/pkg-descr b/archivers/lz4/pkg-descr new file mode 100644 index 000000000000..b53ee523f3b8 --- /dev/null +++ b/archivers/lz4/pkg-descr @@ -0,0 +1,6 @@ +LZ4 is a very fast lossless compression algorithm, providing compression speed +at 300 MB/s per core, scalable with multi-cores CPU. It also features an +extremely fast decoder, with speed in GB/s per core, typically reaching RAM +speed limits on multi-core systems. + +WWW: https://code.google.com/p/lz4/ |