summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-04-09 16:24:03 +0000
committerJeroen Roovers <jer@gentoo.org>2011-04-09 16:24:03 +0000
commitbf54d2f75d6d6e3829ef1b96b2b2b5b9380f417b (patch)
treea318c47fd09b6619f9ffa6e7e12dd802b40ef73b /net-libs/librsync
parentUse Python 2, fix detection of Python library path, don't install .pyc and .p... (diff)
downloadgentoo-2-bf54d2f75d6d6e3829ef1b96b2b2b5b9380f417b.tar.gz
gentoo-2-bf54d2f75d6d6e3829ef1b96b2b2b5b9380f417b.tar.bz2
gentoo-2-bf54d2f75d6d6e3829ef1b96b2b2b5b9380f417b.zip
Add USE=static-libs.
(Portage version: 2.2.0_alpha29/cvs/Linux i686)
Diffstat (limited to 'net-libs/librsync')
-rw-r--r--net-libs/librsync/ChangeLog7
-rw-r--r--net-libs/librsync/librsync-0.9.7-r2.ebuild37
2 files changed, 43 insertions, 1 deletions
diff --git a/net-libs/librsync/ChangeLog b/net-libs/librsync/ChangeLog
index 1105486af8ab..b488e6d86bdb 100644
--- a/net-libs/librsync/ChangeLog
+++ b/net-libs/librsync/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-libs/librsync
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/librsync/ChangeLog,v 1.29 2011/04/09 16:07:24 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/librsync/ChangeLog,v 1.30 2011/04/09 16:24:03 jer Exp $
+
+*librsync-0.9.7-r2 (09 Apr 2011)
+
+ 09 Apr 2011; Jeroen Roovers <jer@gentoo.org> +librsync-0.9.7-r2.ebuild:
+ Add USE=static-libs.
09 Apr 2011; Jeroen Roovers <jer@gentoo.org> -librsync-0.9.6.ebuild,
librsync-0.9.7.ebuild:
diff --git a/net-libs/librsync/librsync-0.9.7-r2.ebuild b/net-libs/librsync/librsync-0.9.7-r2.ebuild
new file mode 100644
index 000000000000..2551481eb8fb
--- /dev/null
+++ b/net-libs/librsync/librsync-0.9.7-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/librsync/librsync-0.9.7-r2.ebuild,v 1.1 2011/04/09 16:24:03 jer Exp $
+
+EAPI="3"
+
+inherit eutils libtool
+
+DESCRIPTION="Flexible remote checksum-based differencing"
+HOMEPAGE="http://librsync.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="static-libs"
+
+src_prepare() {
+ # Bug #142945
+ epatch "${FILESDIR}"/${P}-huge-files.patch
+
+ # Bug #185600
+ elibtoolize
+ epunt_cxx
+}
+
+src_configure() {
+ econf --enable-shared $(use_enable static-libs static) || die
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die
+ dodoc NEWS AUTHORS THANKS README TODO
+ if ! use static-libs; then
+ rm -f "${D}"/usr/lib/librsync.la || die
+ fi
+}