diff options
author | Alessandro Calorì <axelgenus@gmail.com> | 2016-01-31 19:58:32 +0100 |
---|---|---|
committer | Alessandro Calorì <axelgenus@gmail.com> | 2016-01-31 19:59:20 +0100 |
commit | 0e25711b949a24d962f1319ecc34c671b7f4b370 (patch) | |
tree | 0513fb7e7b6449f42656390f7587fd60f120c749 /net-libs/librsync/librsync-2.0.0-r1.ebuild | |
parent | net-libs/librsync: add subslots (diff) | |
download | gentoo-0e25711b949a24d962f1319ecc34c671b7f4b370.tar.gz gentoo-0e25711b949a24d962f1319ecc34c671b7f4b370.tar.bz2 gentoo-0e25711b949a24d962f1319ecc34c671b7f4b370.zip |
net-libs/librsync: fix bug #573144
Diffstat (limited to 'net-libs/librsync/librsync-2.0.0-r1.ebuild')
-rw-r--r-- | net-libs/librsync/librsync-2.0.0-r1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/net-libs/librsync/librsync-2.0.0-r1.ebuild b/net-libs/librsync/librsync-2.0.0-r1.ebuild new file mode 100644 index 000000000000..69b6692bbc3b --- /dev/null +++ b/net-libs/librsync/librsync-2.0.0-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="Remote delta-compression library" +HOMEPAGE="http://librsync.sourcefrog.net/" +SRC_URI="https://github.com/librsync/librsync/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" + +RDEPEND="dev-libs/popt" +DEPEND="${RDEPEND}" + +src_prepare() { + # isprefix_test does not work in portage environment + sed -i '169 s/^/#/' CMakeLists.txt || die + + # fix compiling with multilib-strict feature enabled + sed -i "242 s/lib/$(get_libdir)/" CMakeLists.txt || die + + # fix bug 573144 + epatch "${FILESDIR}/${P}-search.patch" + + cmake-utils_src_prepare +} |