[121530] trunk/dports/archivers/lz4
cal at macports.org
cal at macports.org
Sat Jun 28 04:18:13 PDT 2014
Revision: 121530
https://trac.macports.org/changeset/121530
Author: cal at macports.org
Date: 2014-06-28 04:18:13 -0700 (Sat, 28 Jun 2014)
Log Message:
-----------
lz4: update to r118, fixes https://code.google.com/p/lz4/issues/detail?id=52, security, openmaintainer, switch to github, fix library install name
Revision Links:
--------------
https://trac.macports.org/changeset/118
Modified Paths:
--------------
trunk/dports/archivers/lz4/Portfile
Added Paths:
-----------
trunk/dports/archivers/lz4/files/
trunk/dports/archivers/lz4/files/patch-Makefile-use-correct-install-name.diff
Modified: trunk/dports/archivers/lz4/Portfile
===================================================================
--- trunk/dports/archivers/lz4/Portfile 2014-06-28 11:06:55 UTC (rev 121529)
+++ trunk/dports/archivers/lz4/Portfile 2014-06-28 11:18:13 UTC (rev 121530)
@@ -2,12 +2,15 @@
# $Id$
PortSystem 1.0
+PortGroup github 1.0
-name lz4
-version r116
+github.setup Cyan4973 lz4 r118
+checksums rmd160 9ccb952b2dc95da7e69ea094c64be43132d3113b \
+ sha256 7ba6846c6dad32b31446febe9d58d528591cbe8ec3f943a5a1569cce18225cac
+
categories archivers
maintainers mfeiri openmaintainer
-license BSD GPL-2
+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, \
@@ -15,19 +18,12 @@
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.
+ systems.
-master_sites https://dl.dropboxusercontent.com/u/59565338/LZ4
-checksums rmd160 974cb8e9b0e2c1d951687763ef06130c16768146 \
- sha256 1abafe7a9a0c203043a8abb852aceec947e45c81413394f8711946982c1bad35
+patchfiles patch-Makefile-use-correct-install-name.diff
use_configure no
-variant universal {}
+variant universal {}
build.args-append CC="${configure.cc} [get_canonical_archflags cc]" PREFIX=${prefix}
destroot.args-append CC="${configure.cc} [get_canonical_archflags cc]" PREFIX=${prefix}
-
-livecheck.url http://code.google.com/p/${name}/source/list
-livecheck.type regex
-livecheck.regex {<td class="id"><a href="detail\?r=.*">(.*)</a></td>}
-
Added: trunk/dports/archivers/lz4/files/patch-Makefile-use-correct-install-name.diff
===================================================================
--- trunk/dports/archivers/lz4/files/patch-Makefile-use-correct-install-name.diff (rev 0)
+++ trunk/dports/archivers/lz4/files/patch-Makefile-use-correct-install-name.diff 2014-06-28 11:18:13 UTC (rev 121530)
@@ -0,0 +1,14 @@
+--- Makefile.orig 2014-06-28 13:00:05.000000000 +0200
++++ Makefile 2014-06-28 13:00:10.000000000 +0200
+@@ -58,10 +58,10 @@
+ # OS X linker doesn't support -soname, and use different extension
+ # see : https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/DynamicLibraryDesignGuidelines.html
+ ifeq ($(shell uname), Darwin)
+- SONAME_FLAGS =
+ SHARED_EXT = dylib
+ SHARED_EXT_MAJOR = $(LIBVER_MAJOR).$(SHARED_EXT)
+ SHARED_EXT_VER = $(LIBVER).$(SHARED_EXT)
++ SONAME_FLAGS = -install_name $(PREFIX)/lib/liblz4.$(SHARED_EXT_MAJOR) -compatibility_version $(LIBVER_MAJOR) -current_version $(LIBVER)
+ else
+ SONAME_FLAGS = -Wl,-soname=liblz4.$(SHARED_EXT).$(LIBVER_MAJOR)
+ SHARED_EXT = so
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140628/4959bfda/attachment.html>
More information about the macports-changes
mailing list