summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-office/ledger/ChangeLog10
-rw-r--r--app-office/ledger/ledger-2.6.1.ebuild (renamed from app-office/ledger/ledger-2.5-r1.ebuild)24
2 files changed, 23 insertions, 11 deletions
diff --git a/app-office/ledger/ChangeLog b/app-office/ledger/ChangeLog
index 2cd2cad67f8d..752cb45e1b5d 100644
--- a/app-office/ledger/ChangeLog
+++ b/app-office/ledger/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-office/ledger
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/ledger/ChangeLog,v 1.7 2007/10/14 23:31:52 opfer Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/ledger/ChangeLog,v 1.8 2008/12/19 21:52:36 loki_val Exp $
+
+*ledger-2.6.1 (19 Dec 2008)
+
+ 19 Dec 2008; Peter Alfredsen <loki_val@gentoo.org> -ledger-2.5-r1.ebuild,
+ +ledger-2.6.1.ebuild:
+ Add ledger-2.6.1 w.r.t. bug 183938, thus fixing also bug 239608.
*ledger-2.5-r2 (14 Oct 2007)
diff --git a/app-office/ledger/ledger-2.5-r1.ebuild b/app-office/ledger/ledger-2.6.1.ebuild
index b6550e865405..48d2d82e7905 100644
--- a/app-office/ledger/ledger-2.5-r1.ebuild
+++ b/app-office/ledger/ledger-2.6.1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/ledger/ledger-2.5-r1.ebuild,v 1.5 2007/09/16 13:32:23 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/ledger/ledger-2.6.1.ebuild,v 1.1 2008/12/19 21:52:36 loki_val Exp $
inherit eutils elisp-common
-DESCRIPTION="Ledger is an command-line accounting tool that provides double-entry accounting with a minimum of frills, and yet with a maximum of expressiveness and flexibility."
+DESCRIPTION="A command-line accounting tool that provides double-entry accounting with a minimum of frills, and yet with a maximum of expressiveness and flexibility."
HOMEPAGE="http://www.newartisans.com/software.html"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
@@ -16,12 +16,12 @@ IUSE="emacs debug gnuplot ofx xml"
DEPEND="dev-libs/gmp
dev-libs/libpcre
- ofx? ( >=dev-libs/libofx-0.7 )
+ ofx? ( >=dev-libs/libofx-0.9 )
xml? ( dev-libs/expat )
emacs? ( virtual/emacs )
gnuplot? ( sci-visualization/gnuplot )"
-SITEFILE=50ledger-mode-gentoo.el
+SITEFILE=50${PN}-gentoo.el
src_compile() {
@@ -29,7 +29,7 @@ src_compile() {
$(use_enable xml) \
$(use_enable ofx) \
$(use_enable debug) \
- $(use_with emacs lispdir ${D}/usr/share/emacs/site-lisp/${PN}) \
+ $(use_with emacs lispdir "${D}${SITELISP}/${PN}") \
|| die "Configure failed!"
emake || die "Make failed!"
@@ -37,17 +37,23 @@ src_compile() {
src_install() {
- dodoc sample.dat README NEWS ledger.pdf
+ 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
- use emacs && elisp-site-file-install ${FILESDIR}/${SITEFILE}
-
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