Revision: 115555 https://trac.macports.org/changeset/115555 Author: mfeiri@macports.org Date: 2014-01-04 13:56:52 -0800 (Sat, 04 Jan 2014) Log Message: ----------- lz4: new port Added Paths: ----------- trunk/dports/archivers/lz4/ trunk/dports/archivers/lz4/Portfile trunk/dports/archivers/lz4/files/ trunk/dports/archivers/lz4/files/patch-Makefile.diff Added: trunk/dports/archivers/lz4/Portfile =================================================================== --- trunk/dports/archivers/lz4/Portfile (rev 0) +++ trunk/dports/archivers/lz4/Portfile 2014-01-04 21:56:52 UTC (rev 115555) @@ -0,0 +1,28 @@ +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 +# $Id$ + +PortSystem 1.0 +#PortGroup cmake 1.0 + +name lz4 +version r110 +categories archivers +maintainers mfeiri openmaintainer +license BSD GPL-2 +homepage https://code.google.com/p/lz4/ +description Extremely Fast Compression algorithm +long_description LZ4 is a very fast lossless compression algorithm, \ + providing compression speed at 400 MB/s per core, \ + scalable with multi-cores CPU. It also features an \ + extremely fast decoder, with speed in multiple GB/s per \ + core, typically reaching RAM speed limits on multi-core \ + systems. + +master_sites googlecode:${name} +checksums rmd160 9719df79ed3c238b4e168a060d2b3925b6eaac06 \ + sha256 fb7b49c246bd0f6566b6f31e6f3586074277b7e3b7a2119ad728c17533331a65 + +patchfiles patch-Makefile.diff +use_configure no +build.args-append CC=${configure.cc} +#configure.cmd cmake cmake Property changes on: trunk/dports/archivers/lz4/Portfile ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native Added: trunk/dports/archivers/lz4/files/patch-Makefile.diff =================================================================== --- trunk/dports/archivers/lz4/files/patch-Makefile.diff (rev 0) +++ trunk/dports/archivers/lz4/files/patch-Makefile.diff 2014-01-04 21:56:52 UTC (rev 115555) @@ -0,0 +1,30 @@ +--- Makefile 2014-01-04 16:42:11.000000000 +0100 ++++ Makefile 2014-01-04 17:16:11.000000000 +0100 +@@ -31,12 +31,10 @@ + # ################################################################ + + RELEASE=r110 +-DESTDIR= + PREFIX=${DESTDIR}/usr + BINDIR=$(PREFIX)/bin + MANDIR=$(PREFIX)/share/man/man1 + DISTRIBNAME=lz4-$(RELEASE).tar.gz +-CC=gcc + CFLAGS=-I. -std=c99 -Wall -W -Wundef -DLZ4_VERSION=\"$(RELEASE)\" + + # Define *.exe as extension for Windows systems +@@ -90,8 +88,6 @@ + @echo Cleaning completed + + +-ifeq ($(shell uname),Linux) +- + install: lz4 lz4c + @install -d -m 755 $(BINDIR)/ $(MANDIR)/ + @install -m 755 lz4 $(BINDIR)/lz4 +@@ -116,5 +112,3 @@ + @tar -czf $(DISTRIBNAME) lz4-$(RELEASE)/ + @rm -rf lz4-$(RELEASE) + @echo Distribution $(DISTRIBNAME) built +- +-endif
participants (1)
-
mfeiri@macports.org