diff options
-rw-r--r-- | app-editors/tea/ChangeLog | 7 | ||||
-rw-r--r-- | app-editors/tea/files/digest-tea-17.5.1 | 3 | ||||
-rw-r--r-- | app-editors/tea/tea-17.5.1.ebuild | 62 |
3 files changed, 71 insertions, 1 deletions
diff --git a/app-editors/tea/ChangeLog b/app-editors/tea/ChangeLog index 4379e5812359..f821331bbd8d 100644 --- a/app-editors/tea/ChangeLog +++ b/app-editors/tea/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-editors/tea # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/tea/ChangeLog,v 1.28 2008/01/02 11:07:41 welp Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/tea/ChangeLog,v 1.29 2008/01/07 19:59:59 welp Exp $ + +*tea-17.5.1 (07 Jan 2008) + + 07 Jan 2008; <welp@gentoo.org> +tea-17.5.1.ebuild: + Bump *tea-17.5.0 (02 Jan 2008) diff --git a/app-editors/tea/files/digest-tea-17.5.1 b/app-editors/tea/files/digest-tea-17.5.1 new file mode 100644 index 000000000000..64fe86843ec4 --- /dev/null +++ b/app-editors/tea/files/digest-tea-17.5.1 @@ -0,0 +1,3 @@ +MD5 870d633825852a1b537f597f76a7759b tea-17.5.1.tar.bz2 453601 +RMD160 6c8f980acbf7a8fe62e3a6228ffe23db310af34d tea-17.5.1.tar.bz2 453601 +SHA256 bf426e492dcac2f3591ee673b3640837d7cb05c46e85ad761d3c2a976b2e0b3d tea-17.5.1.tar.bz2 453601 diff --git a/app-editors/tea/tea-17.5.1.ebuild b/app-editors/tea/tea-17.5.1.ebuild new file mode 100644 index 000000000000..79f997f97f05 --- /dev/null +++ b/app-editors/tea/tea-17.5.1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/tea/tea-17.5.1.ebuild,v 1.1 2008/01/07 19:59:59 welp Exp $ + +inherit eutils + +DESCRIPTION="Small, lightweight GTK+ text editor" +HOMEPAGE="http://tea-editor.sourceforge.net/" +SRC_URI="mirror://sourceforge/tea-editor/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~x86 ~x86-fbsd" +IUSE="enchant gnome hacking ipv6 spell" + +RDEPEND="x11-libs/gtk+ + x11-libs/libX11 + gnome? ( =x11-libs/gtksourceview-1* + gnome-base/gnome-vfs )" +DEPEND="${RDEPEND} + spell? ( app-text/aspell ) + enchant? ( app-text/enchant ) + dev-util/pkgconfig" + +src_compile() { + local myconf + + if use hacking; then + myconf="${myconf} --enable-hacking" + fi + if ! use gnome; then + myconf="${myconf} --enable-legacy" + fi + if use enchant; then + myconf="${myconf} --enable-enchant" + fi + + econf \ + $(use_enable ipv6) \ + ${myconf} || die "econf failed!" + + emake || die "emake failed!" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed!" + + make_desktop_entry tea Tea /usr/share/tea/pixmaps/tea_icon_v2.png Development + +# insinto /usr/share/doc/tea/ +# doins AUTHORS COPYING NEWS README TODO ChangeLog doc/* + +# insinto /usr/share/pixmaps/ +# doins pixmaps/* +} + +pkg_postinst() { + if use spell ; then + elog "To get full spellchecking functuality, ensure that you install" + elog "the relevant language pack(s)" + fi +} |