diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2005-10-29 15:18:20 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2005-10-29 15:18:20 +0000 |
commit | 24fc427d3189e802a89a4bed80686155d9980306 (patch) | |
tree | ce8b6975daabaf8172292101f1621f86dc10ca2c /app-misc/devtodo/devtodo-0.1.19-r1.ebuild | |
parent | Marked ~ppc-macos (bug #109436) (diff) | |
download | historical-24fc427d3189e802a89a4bed80686155d9980306.tar.gz historical-24fc427d3189e802a89a4bed80686155d9980306.tar.bz2 historical-24fc427d3189e802a89a4bed80686155d9980306.zip |
Revision bump; added a patch that fixes a segmentation fault when trying to read a .todo file after adding a multi-line item (fex 'cat $somefile | tda').
Package-Manager: portage-2.0.53_rc6
Diffstat (limited to 'app-misc/devtodo/devtodo-0.1.19-r1.ebuild')
-rw-r--r-- | app-misc/devtodo/devtodo-0.1.19-r1.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/app-misc/devtodo/devtodo-0.1.19-r1.ebuild b/app-misc/devtodo/devtodo-0.1.19-r1.ebuild new file mode 100644 index 000000000000..4485bdfd5580 --- /dev/null +++ b/app-misc/devtodo/devtodo-0.1.19-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/devtodo/devtodo-0.1.19-r1.ebuild,v 1.1 2005/10/29 15:18:20 ka0ttic Exp $ + +inherit eutils bash-completion flag-o-matic + +DESCRIPTION="A nice command line todo list for developers" +HOMEPAGE="http://swapoff.org/DevTodo" +SRC_URI="http://swapoff.org/files/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="" + +RDEPEND=">=sys-libs/ncurses-5.2 + >=sys-libs/readline-4.1" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PN}-0.1.18-gcc4.diff + epatch ${FILESDIR}/${P}-gentoo.diff + epatch ${FILESDIR}/${P}-fix-multiline-segv.diff +} + +src_compile() { + einfo "Running autoreconf" + autoreconf -f -i || die "autoreconf failed" + replace-flags -O[23] -O1 + econf --sysconfdir=/etc/devtodo || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" + dodoc AUTHORS ChangeLog QuickStart README doc/scripts.sh \ + doc/scripts.tcsh doc/todorc.example || die "dodoc failed" + + dobashcompletion contrib/${PN}.bash-completion ${PN} + rm contrib/${PN}.bash-completion + docinto contrib + dodoc contrib/* +} + +pkg_postinst() { + echo + einfo "Because of a conflict with app-misc/tdl, the tdl symbolic link" + einfo "and manual page have been removed." + bash-completion_pkg_postinst +} |