summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-libs/obby/ChangeLog7
-rw-r--r--net-libs/obby/obby-0.4.8.ebuild16
2 files changed, 17 insertions, 6 deletions
diff --git a/net-libs/obby/ChangeLog b/net-libs/obby/ChangeLog
index c9aa6100e34f..19781d2a053a 100644
--- a/net-libs/obby/ChangeLog
+++ b/net-libs/obby/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-libs/obby
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/obby/ChangeLog,v 1.35 2011/11/06 13:39:47 xarthisius Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/obby/ChangeLog,v 1.36 2012/02/21 20:15:05 xarthisius Exp $
+
+ 21 Feb 2012; Kacper Kowalik <xarthisius@gentoo.org> obby-0.4.8.ebuild:
+ Introduce static-libs use flag, remove unneeded .la files
*obby-0.4.8 (06 Nov 2011)
diff --git a/net-libs/obby/obby-0.4.8.ebuild b/net-libs/obby/obby-0.4.8.ebuild
index 3fe7913f62a9..3fcd2930edd3 100644
--- a/net-libs/obby/obby-0.4.8.ebuild
+++ b/net-libs/obby/obby-0.4.8.ebuild
@@ -1,16 +1,18 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/obby/obby-0.4.8.ebuild,v 1.1 2011/11/06 13:39:47 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/obby/obby-0.4.8.ebuild,v 1.2 2012/02/21 20:15:05 xarthisius Exp $
EAPI=4
+inherit multilib
+
DESCRIPTION="Library for collaborative text editing"
HOMEPAGE="http://gobby.0x539.de/"
SRC_URI="http://releases.0x539.de/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="avahi ipv6 nls"
+IUSE="avahi ipv6 nls static-libs"
RDEPEND="net-libs/net6
dev-libs/libsigc++:2
@@ -23,5 +25,11 @@ src_configure() {
econf \
$(use_with avahi zeroconf) \
$(use_enable ipv6) \
- $(use_enable nls)
+ $(use_enable nls) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ use static-libs || rm -f "${D}"/usr/$(get_libdir)/lib${PN}.la
}