summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-04-05 15:50:39 +0000
committerJeroen Roovers <jer@gentoo.org>2011-04-05 15:50:39 +0000
commit69f58ffebb08115ec8138b401a565d47c839addb (patch)
tree244010fde6dc818433e2ff20f7f62f9a354a6798 /app-misc/nut
parentFixing pre-stripped files bug 255911 thanks to Kevin Pyle, fixing minor QA is... (diff)
downloadgentoo-2-69f58ffebb08115ec8138b401a565d47c839addb.tar.gz
gentoo-2-69f58ffebb08115ec8138b401a565d47c839addb.tar.bz2
gentoo-2-69f58ffebb08115ec8138b401a565d47c839addb.zip
Version bump. Fix DEPEND.
(Portage version: 2.2.0_alpha29/cvs/Linux i686)
Diffstat (limited to 'app-misc/nut')
-rw-r--r--app-misc/nut/ChangeLog8
-rw-r--r--app-misc/nut/nut-16.5.ebuild4
-rw-r--r--app-misc/nut/nut-16.9.ebuild49
3 files changed, 58 insertions, 3 deletions
diff --git a/app-misc/nut/ChangeLog b/app-misc/nut/ChangeLog
index cac8d998d200..c5906c850cfc 100644
--- a/app-misc/nut/ChangeLog
+++ b/app-misc/nut/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/nut
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/nut/ChangeLog,v 1.17 2011/03/20 20:20:51 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/nut/ChangeLog,v 1.18 2011/04/05 15:50:39 jer Exp $
+
+*nut-16.9 (05 Apr 2011)
+
+ 05 Apr 2011; Jeroen Roovers <jer@gentoo.org> nut-16.5.ebuild,
+ +nut-16.9.ebuild:
+ Version bump. Fix DEPEND.
20 Mar 2011; Justin Lecher <jlec@gentoo.org> nut-16.5.ebuild:
x11-libs/fltk SLOTMOVE 1.1 -> 1, corrected ebuild accordingly
diff --git a/app-misc/nut/nut-16.5.ebuild b/app-misc/nut/nut-16.5.ebuild
index 45f7c011ad8a..8e7e05e2a06a 100644
--- a/app-misc/nut/nut-16.5.ebuild
+++ b/app-misc/nut/nut-16.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/nut/nut-16.5.ebuild,v 1.3 2011/03/20 20:20:51 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/nut/nut-16.5.ebuild,v 1.4 2011/04/05 15:50:39 jer Exp $
EAPI=2
@@ -16,7 +16,7 @@ KEYWORDS="~arm ~alpha ~amd64 ~ppc ~x86 ~amd64"
IUSE="X"
RDEPEND="X? ( >=x11-libs/fltk-1.3:1 )"
-DEPEND="${RDEPEN}"
+DEPEND="${RDEPEND}"
src_prepare() {
epatch \
diff --git a/app-misc/nut/nut-16.9.ebuild b/app-misc/nut/nut-16.9.ebuild
new file mode 100644
index 000000000000..680e31da1fe2
--- /dev/null
+++ b/app-misc/nut/nut-16.9.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/nut/nut-16.9.ebuild,v 1.1 2011/04/05 15:50:39 jer Exp $
+
+EAPI=2
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="Record what you eat and analyze your nutrient levels"
+HOMEPAGE="http://nut.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~arm ~alpha ~amd64 ~ppc ~x86 ~amd64"
+IUSE="X"
+
+RDEPEND="X? ( >=x11-libs/fltk-1.3:1 )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-16.5-build-fixes.patch
+
+ tc-export CC CXX
+
+ sed \
+ -e "s:/usr/local/lib:/usr/share:g" \
+ -i Makefile fltk/Makefile || die
+}
+
+src_compile() {
+ emake || die
+# need fltk-1.3
+ if use X; then
+ cd fltk
+ emake || die
+ fi
+}
+
+src_install() {
+ insinto /usr/share/nut
+ doins raw.data/* || die
+ dobin nut || die
+ if use X; then
+ dobin fltk/Nut || die
+ fi
+ doman nut.1 || die
+
+}