diff --git a/dev-libs/libstrl/libstrl-0.2.ebuild b/dev-libs/libstrl/libstrl-0.2-r1.ebuild copy from dev-libs/libstrl/libstrl-0.2.ebuild copy to dev-libs/libstrl/libstrl-0.2-r1.ebuild --- a/dev-libs/libstrl/libstrl-0.2.ebuild +++ b/dev-libs/libstrl/libstrl-0.2-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr-util/apr-util-1.3.9.ebuild,v 1.12 2009/11/04 12:12:05 arfrever Exp $ +# $Header: $ EAPI="2" -inherit base multilib +inherit autotools-utils multilib DESCRIPTION="Compat library for functions like strlcpy(), strlcat(), and strnlen()" HOMEPAGE="http://ohnopub.net/~ohnobinki/libstrl/" @@ -20,18 +20,10 @@ DEPEND="doc? ( app-doc/doxygen ) RDEPEND="" src_configure() { - econf \ - --docdir=/usr/share/doc/${PF} \ - $(use_enable static-libs static) \ - $(use_with doc doxygen) \ + myeconfargs=( + $(use_with doc doxygen) $(use_with test check) -} + ) -src_install() { - base_src_install - - # We remove the .la file unconditionally (even when the static-libs - # flags is set) because upstream (myself) only supports linking - # through pkg-config. - rm -vf "${D}"/usr/$(get_libdir)/libstrl.la || die + autotools-utils_src_configure }