diff options
Diffstat (limited to 'app-i18n/poedit/poedit-1.4.6.1.ebuild')
-rw-r--r-- | app-i18n/poedit/poedit-1.4.6.1.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/app-i18n/poedit/poedit-1.4.6.1.ebuild b/app-i18n/poedit/poedit-1.4.6.1.ebuild new file mode 100644 index 000000000000..ce3596c979d8 --- /dev/null +++ b/app-i18n/poedit/poedit-1.4.6.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/poedit/poedit-1.4.6.1.ebuild,v 1.1 2010/04/20 23:11:56 dirtyepic Exp $ + +EAPI=2 +WX_GTK_VER=2.8 + +inherit eutils wxwidgets flag-o-matic fdo-mime + +DESCRIPTION="Cross-platform gettext catalogs (.po files) editor." +SRC_URI="mirror://sourceforge/poedit/${P}.tar.gz" +HOMEPAGE="http://poedit.sourceforge.net/" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="spell" + +DEPEND="x11-libs/wxGTK:2.8[X] + >=sys-libs/db-3.1 + spell? ( >=app-text/gtkspell-2.0.0 )" + +RDEPEND=${DEPEND} + +src_configure() { + append-flags -fno-strict-aliasing + + econf \ + $(use_enable spell spellchecking) \ + || die "Configure failed!" +} + +src_install () { + emake DESTDIR="${D}" install || die "Install failed" + dodoc AUTHORS NEWS README TODO +} + +pkg_postinst() { + fdo-mime_desktop_database_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update +} |