diff options
Diffstat (limited to 'dev-libs/libunistring/libunistring-0.9.1.1.ebuild')
-rw-r--r-- | dev-libs/libunistring/libunistring-0.9.1.1.ebuild | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/dev-libs/libunistring/libunistring-0.9.1.1.ebuild b/dev-libs/libunistring/libunistring-0.9.1.1.ebuild index 35c4437416df..1feff0302add 100644 --- a/dev-libs/libunistring/libunistring-0.9.1.1.ebuild +++ b/dev-libs/libunistring/libunistring-0.9.1.1.ebuild @@ -1,8 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libunistring/libunistring-0.9.1.1.ebuild,v 1.1 2010/04/10 17:34:52 chiiph Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libunistring/libunistring-0.9.1.1.ebuild,v 1.2 2010/10/06 01:46:39 chiiph Exp $ -EAPI="2" +EAPI="3" + +inherit eutils DESCRIPTION="Library for manipulating Unicode strings and C strings according to the Unicode standard" HOMEPAGE="http://www.gnu.org/software/libunistring/" @@ -13,22 +15,15 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="doc" -DEPEND="" -RDEPEND="${DEPEND}" - -src_compile() { - if use doc; then - emake -C doc info html || die "Build doc failed" - fi - - emake || die "Build failed" +src_prepare() { + epatch "${FILESDIR}"/${PN}-nodocs.patch } src_install() { - dodoc AUTHORS README ChangeLog + dodoc AUTHORS README ChangeLog || die "dodoc failed" if use doc; then - dohtml doc/libunistring.html - doinfo doc/libunistring.info + dohtml doc/*.html || die "dohtml failed" + doinfo doc/*.info || die "doinfo failed" fi emake DESTDIR="${D}" install || die "Install failed" |