diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2013-02-23 20:56:51 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2013-02-23 20:56:51 +0000 |
commit | f7150af0feccd06c8f878707dbba7b9341cce6d6 (patch) | |
tree | b5cbf7dbc921305be36d3d46a097d90905db879c /dev-util/bdelta | |
parent | Add ~arm-linux keyword. (diff) | |
download | gentoo-2-f7150af0feccd06c8f878707dbba7b9341cce6d6.tar.gz gentoo-2-f7150af0feccd06c8f878707dbba7b9341cce6d6.tar.bz2 gentoo-2-f7150af0feccd06c8f878707dbba7b9341cce6d6.zip |
Version bump.
(Portage version: 2.2.0_alpha163_p4/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)
Diffstat (limited to 'dev-util/bdelta')
-rw-r--r-- | dev-util/bdelta/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/bdelta/bdelta-0.3.1.ebuild | 45 | ||||
-rw-r--r-- | dev-util/bdelta/files/bdelta-0.3.1-soname.patch | 21 |
3 files changed, 73 insertions, 1 deletions
diff --git a/dev-util/bdelta/ChangeLog b/dev-util/bdelta/ChangeLog index 6a2e21c97340..4afc8db23526 100644 --- a/dev-util/bdelta/ChangeLog +++ b/dev-util/bdelta/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/bdelta # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/bdelta/ChangeLog,v 1.15 2013/02/17 22:35:57 slyfox Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/bdelta/ChangeLog,v 1.16 2013/02/23 20:56:51 slyfox Exp $ + +*bdelta-0.3.1 (23 Feb 2013) + + 23 Feb 2013; Sergei Trofimovich <slyfox@gentoo.org> +bdelta-0.3.1.ebuild, + +files/bdelta-0.3.1-soname.patch: + Version bump. 17 Feb 2013; Sergei Trofimovich <slyfox@gentoo.org> bdelta-9999.ebuild: Drop 'Format' file as it was merged to 'README'. diff --git a/dev-util/bdelta/bdelta-0.3.1.ebuild b/dev-util/bdelta/bdelta-0.3.1.ebuild new file mode 100644 index 000000000000..c967f471fa16 --- /dev/null +++ b/dev-util/bdelta/bdelta-0.3.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/bdelta/bdelta-0.3.1.ebuild,v 1.1 2013/02/23 20:56:51 slyfox Exp $ + +EAPI=4 + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="git://github.com/jjwhitney/BDelta.git" + UNPACKER_ECLASS="git-2" + LIVE_EBUILD=yes +else + UNPACKER_ECLASS="vcs-snapshot" +fi + +inherit eutils multilib toolchain-funcs ${UNPACKER_ECLASS} + +if [[ -z ${LIVE_EBUILD} ]]; then + KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-linux" + SRC_URI="http://github.com/jjwhitney/BDelta/tarball/v${PV} -> ${P}.tar.gz" +fi + +DESCRIPTION="Binary Delta - Efficient difference algorithm and format" +HOMEPAGE="http://bdelta.org" + +SLOT="0" +LICENSE="GPL-2" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}"/${P}-soname.patch +} + +src_compile() { + emake -C src \ + CXX="$(tc-getCXX)" \ + CXXFLAGS="${CXXFLAGS}" +} + +src_install() { + emake -C src install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}/usr" \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" + dodoc README +} diff --git a/dev-util/bdelta/files/bdelta-0.3.1-soname.patch b/dev-util/bdelta/files/bdelta-0.3.1-soname.patch new file mode 100644 index 000000000000..360a16d7c0da --- /dev/null +++ b/dev-util/bdelta/files/bdelta-0.3.1-soname.patch @@ -0,0 +1,21 @@ +diff --git a/src/Makefile b/src/Makefile +index 65fb88d..3b4a261 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -3,6 +3,7 @@ PREFIX ?= /usr + BINDIR ?= $(PREFIX)/bin + LIBDIR ?= ${PREFIX}/lib + CXXFLAGS += -O2 ++DYLIB_LDFLAGS ?= -Wl,-soname,libbdelta.so + + ifeq ($(shell uname -s),Darwin) + SHAREDLIB := libbdelta.dylib +@@ -19,7 +20,7 @@ libbdelta.a: libbdelta.cpp compatibility.h checksum.h file.h + $(AR) rs $@ $<.o + + libbdelta.so: libbdelta.cpp compatibility.h checksum.h file.h +- $(CXX) -shared -fPIC $(CXXFLAGS) $(LDFLAGS) $< -o $@ ++ $(CXX) -shared -fPIC $(CXXFLAGS) $(LDFLAGS) $(DYLIB_LDFLAGS) $< -o $@ + + libbdelta.dylib: libbdelta.cpp compatibility.h checksum.h file.h + $(CXX) -dynamiclib $(CXXFLAGS) $< -o $@ |