diff options
author | Victor Ostorga <vostorga@gentoo.org> | 2009-09-29 18:28:32 +0000 |
---|---|---|
committer | Victor Ostorga <vostorga@gentoo.org> | 2009-09-29 18:28:32 +0000 |
commit | b5e6c7efbc7e95165614521532825ac98c84c65a (patch) | |
tree | f1949bbaf915940dbf2e3053a7349769a9609104 /app-office | |
parent | Stable on alpha, bug #282313 (diff) | |
download | gentoo-2-b5e6c7efbc7e95165614521532825ac98c84c65a.tar.gz gentoo-2-b5e6c7efbc7e95165614521532825ac98c84c65a.tar.bz2 gentoo-2-b5e6c7efbc7e95165614521532825ac98c84c65a.zip |
Version bump to 2.6.2 patch thanks to Tim Harder <radhermit@gmail.com> bug 286831
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'app-office')
-rw-r--r-- | app-office/ledger/ChangeLog | 8 | ||||
-rw-r--r-- | app-office/ledger/ledger-2.6.2.ebuild | 72 |
2 files changed, 79 insertions, 1 deletions
diff --git a/app-office/ledger/ChangeLog b/app-office/ledger/ChangeLog index bafb44f4f933..db56db0aa183 100644 --- a/app-office/ledger/ChangeLog +++ b/app-office/ledger/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-office/ledger # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/ledger/ChangeLog,v 1.12 2009/09/06 19:17:45 idl0r Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/ledger/ChangeLog,v 1.13 2009/09/29 18:28:32 vostorga Exp $ + +*ledger-2.6.2 (29 Sep 2009) + + 29 Sep 2009; Víctor Ostorga <vostorga@gentoo.org> +ledger-2.6.2.ebuild: + Version bump to 2.6.2 patch thanks to Tim Harder <radhermit@gmail.com> bug + 286831 06 Sep 2009; Christian Ruppert <idl0r@gentoo.org> -files/50ledger-mode-gentoo.el, ledger-2.5-r2.ebuild, ledger-2.6.1.ebuild: diff --git a/app-office/ledger/ledger-2.6.2.ebuild b/app-office/ledger/ledger-2.6.2.ebuild new file mode 100644 index 000000000000..885f7808bb1b --- /dev/null +++ b/app-office/ledger/ledger-2.6.2.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/ledger/ledger-2.6.2.ebuild,v 1.1 2009/09/29 18:28:32 vostorga Exp $ + +EAPI="2" + +inherit eutils elisp-common + +DESCRIPTION="A double-entry accounting system with a command-line reporting interface" +HOMEPAGE="http://wiki.github.com/jwiegley/ledger" + +SRC_URI="http://cloud.github.com/downloads/jwiegley/${PN}/${P}.tar.gz" + +LICENSE="NewArtisans" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="emacs debug gnuplot ofx xml" + +DEPEND="dev-libs/gmp + dev-libs/libpcre + ofx? ( >=dev-libs/libofx-0.9 ) + xml? ( dev-libs/expat ) + emacs? ( virtual/emacs ) + gnuplot? ( sci-visualization/gnuplot )" +RDEPEND="${DEPEND}" + +SITEFILE=50${PN}-gentoo.el + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.6.1-glibc-2.10.patch +} + +src_configure() { + econf \ + $(use_enable xml) \ + $(use_enable ofx) \ + $(use_enable debug) \ + $(use_with emacs lispdir "${D}${SITELISP}/${PN}") +} + +src_install() { + + dodoc sample.dat README NEWS + + ## One script uses vi, the outher the Finance perl module + ## Did not add more use flags though + insinto /usr/share/${P} + doins scripts/entry scripts/getquote scripts/bal scripts/bal-huquq || die + + einstall || die "Installation failed!" + + # Remove timeclock since it is part of Emacs + rm -f "${D}${SITELISP}/${PN}"/timeclock.* + + if use emacs; then + elisp-site-file-install "${FILESDIR}/${SITEFILE}" \ + || die "elisp-site-file-install failed" + fi + + if use gnuplot; then + mv scripts/report ledger-report + dobin ledger-report || die + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |