diff options
author | Pacho Ramos <pacho@gentoo.org> | 2011-01-31 14:00:53 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2011-01-31 14:00:53 +0000 |
commit | 921d1483e124297379d24317cd303e8745f7f2bc (patch) | |
tree | 083813d9869ab19b981dbd112be94bb656b35218 /app-text/wv | |
parent | QA: drop all unused eclasses that were already announced for removal. New pol... (diff) | |
download | gentoo-2-921d1483e124297379d24317cd303e8745f7f2bc.tar.gz gentoo-2-921d1483e124297379d24317cd303e8745f7f2bc.tar.bz2 gentoo-2-921d1483e124297379d24317cd303e8745f7f2bc.zip |
ebuild cleanups by Gilles.
(Portage version: 2.1.9.35/cvs/Linux x86_64)
Diffstat (limited to 'app-text/wv')
-rw-r--r-- | app-text/wv/ChangeLog | 5 | ||||
-rw-r--r-- | app-text/wv/wv-1.2.9.ebuild | 21 |
2 files changed, 17 insertions, 9 deletions
diff --git a/app-text/wv/ChangeLog b/app-text/wv/ChangeLog index 0638aaf85be7..534e0d0b0aa0 100644 --- a/app-text/wv/ChangeLog +++ b/app-text/wv/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-text/wv # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/wv/ChangeLog,v 1.54 2011/01/31 13:06:54 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/wv/ChangeLog,v 1.55 2011/01/31 14:00:53 pacho Exp $ + + 31 Jan 2011; Pacho Ramos <pacho@gentoo.org> wv-1.2.9.ebuild: + ebuild cleanups by Gilles. *wv-1.2.9 (31 Jan 2011) diff --git a/app-text/wv/wv-1.2.9.ebuild b/app-text/wv/wv-1.2.9.ebuild index 45076dfdf704..f86060b32a20 100644 --- a/app-text/wv/wv-1.2.9.ebuild +++ b/app-text/wv/wv-1.2.9.ebuild @@ -1,9 +1,11 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/wv/wv-1.2.9.ebuild,v 1.1 2011/01/31 13:06:54 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/wv/wv-1.2.9.ebuild,v 1.2 2011/01/31 14:00:53 pacho Exp $ EAPI="3" +inherit eutils + DESCRIPTION="Tool for conversion of MSWord doc and rtf files to something readable" SRC_URI="http://abiword.org/downloads/${PN}/${PV}/${P}.tar.gz" HOMEPAGE="http://wvware.sourceforge.net/" @@ -25,18 +27,21 @@ DEPEND="${RDEPEND} >=dev-util/pkgconfig-0.9" src_configure() { - econf $(use_with wmf libwmf) || die "./configure failed" + econf $(use_with wmf libwmf) +} + +pkg_preinst() { + preserve_old_lib /usr/$(get_libdir)/libwv-1.2.so.3 +} + +pkg_postinst() { + preserve_old_lib_notify /usr/$(get_libdir)/libwv-1.2.so.3 } src_install () { - make DESTDIR="${D}" install || die "Installation failed" + emake DESTDIR="${D}" install || die "Installation failed" dodoc README NEWS || die rm -f "${ED}"/usr/share/man/man1/wvConvert.1 dosym /usr/share/man/man1/wvWare.1 /usr/share/man/man1/wvConvert.1 || die } - -pkg_postinst() { - ewarn "You have to re-emerge packages that linked against wv by running:" - ewarn "revdep-rebuild" -} |