--- /usr/portage/net-libs/rb_libtorrent/rb_libtorrent-0.15.7.ebuild 2011-08-02 16:18:30.000000000 +0200 +++ rb_libtorrent-0.15.7.ebuild 2011-09-25 15:54:56.435851527 +0200 @@ -19,7 +19,7 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="debug doc examples python ssl" +IUSE="debug doc examples python ssl static-libs" RESTRICT="test" DEPEND=">=dev-libs/boost-1.36[python?] @@ -59,6 +59,7 @@ $(use_enable examples) \ $(use_enable python python-binding) \ $(use_enable ssl encryption) \ + $(use_enable static-libs static) \ --with-zlib=system \ ${LOGGING} \ --with-boost=${BOOST_INC} \ @@ -68,6 +69,7 @@ src_install() { emake DESTDIR="${D}" install || die 'emake install failed' + use static-libs || find "${D}" -name '*.la' -exec rm -f {} + dodoc ChangeLog AUTHORS NEWS README || die 'dodoc failed' if use doc ; then dohtml docs/* || die "Could not install HTML documentation"