summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Ostorga <vostorga@gentoo.org>2010-07-08 14:50:58 +0000
committerVictor Ostorga <vostorga@gentoo.org>2010-07-08 14:50:58 +0000
commit94c701eea260248e5240d24a442f757727893463 (patch)
tree27e906c3311ad0fe340e74f58f9de298de07c5f9 /app-office/ledger
parentfix mozldap lib dir installation (and revert to ln for now) (diff)
downloadgentoo-2-94c701eea260248e5240d24a442f757727893463.tar.gz
gentoo-2-94c701eea260248e5240d24a442f757727893463.tar.bz2
gentoo-2-94c701eea260248e5240d24a442f757727893463.zip
Version bump to 2.6.3 , patch thanks to Tim Harder <radhermit@gmail.com> bug #327133
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'app-office/ledger')
-rw-r--r--app-office/ledger/ChangeLog8
-rw-r--r--app-office/ledger/ledger-2.6.3.ebuild71
2 files changed, 78 insertions, 1 deletions
diff --git a/app-office/ledger/ChangeLog b/app-office/ledger/ChangeLog
index aa4dfa22240a..3be2eaec29ab 100644
--- a/app-office/ledger/ChangeLog
+++ b/app-office/ledger/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-office/ledger
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/ledger/ChangeLog,v 1.16 2010/05/20 18:32:42 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/ledger/ChangeLog,v 1.17 2010/07/08 14:50:58 vostorga Exp $
+
+*ledger-2.6.3 (08 Jul 2010)
+
+ 08 Jul 2010; Víctor Ostorga <vostorga@gentoo.org> +ledger-2.6.3.ebuild:
+ Version bump to 2.6.3 , patch thanks to Tim Harder <radhermit@gmail.com>
+ bug #327133
20 May 2010; Jeremy Olexa <darkside@gentoo.org> -ledger-2.5-r2.ebuild,
-ledger-2.6.1.ebuild:
diff --git a/app-office/ledger/ledger-2.6.3.ebuild b/app-office/ledger/ledger-2.6.3.ebuild
new file mode 100644
index 000000000000..ef1ef81b23f8
--- /dev/null
+++ b/app-office/ledger/ledger-2.6.3.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/ledger/ledger-2.6.3.ebuild,v 1.1 2010/07/08 14:50:58 vostorga Exp $
+
+EAPI=3
+
+inherit eutils elisp-common autotools
+
+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="BSD"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
+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() {
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable xml) \
+ $(use_enable ofx) \
+ $(use_enable debug) \
+ $(use_with emacs lispdir "${ED}${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 "${ED}${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
+}