--- tvtime-1.0.2_p20110131-r2.ebuild.old 2011-10-13 19:15:06.124052358 +0200 +++ tvtime-1.0.2_p20110131-r2.ebuild.old 2011-10-13 19:23:56.694001945 +0200 @@ -3,7 +3,7 @@ # $Header: /var/cvsroot/gentoo-x86/media-tv/tvtime/tvtime-1.0.2_p20110131-r2.ebuild,v 1.1 2011/10/13 08:13:56 a3li Exp $ EAPI=4 -inherit eutils autotools +inherit eutils autotools flag-o-matic TVTIME_HGREV="111b28cca42d" @@ -41,6 +41,8 @@ S="${WORKDIR}/${PN}-${TVTIME_HGREV}" +DOCS=( ChangeLog AUTHORS NEWS README ) + src_prepare() { # Rename the desktop file, bug #308297 mv docs/net-tvtime.desktop docs/tvtime.desktop || die @@ -72,21 +74,16 @@ } src_configure() { + append-ldflags -lpthread #Fix underlinking, #370025 econf \ $(use_enable nls) \ - $(use_with xinerama) || die "econf failed" -} - -src_compile() { - # Fix underlinking, #370025 - emake LDFLAGS="${LDFLAGS} -lpthread" || die "compile problem" + $(use_with xinerama) } src_install() { - make DESTDIR="${D}" install || die "make install failed" + default dohtml docs/html/* - dodoc ChangeLog AUTHORS NEWS README } pkg_postinst() {