summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-02-21 20:15:05 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-02-21 20:15:05 +0000
commitc8bf73a946bbc19479d203aa5252e7f29e06440a (patch)
tree6f89e547edaaf4a241ab0af884aee3c7184092ed /net-libs/obby
parentVersion bump. (diff)
downloadgentoo-2-c8bf73a946bbc19479d203aa5252e7f29e06440a.tar.gz
gentoo-2-c8bf73a946bbc19479d203aa5252e7f29e06440a.tar.bz2
gentoo-2-c8bf73a946bbc19479d203aa5252e7f29e06440a.zip
Introduce static-libs use flag, remove unneeded .la files
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/obby')
-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
}