summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-05-21 16:53:49 +0000
committerJeroen Roovers <jer@gentoo.org>2011-05-21 16:53:49 +0000
commitdba1afbc85832e50fcd60a023af0f4aed4aa0e1e (patch)
tree2a8eaee8383870da61b7423d894fb4cb63769f9a /app-misc/nut
parentMasking the php5-5 PHP_TARGET (diff)
downloadgentoo-2-dba1afbc85832e50fcd60a023af0f4aed4aa0e1e.tar.gz
gentoo-2-dba1afbc85832e50fcd60a023af0f4aed4aa0e1e.tar.bz2
gentoo-2-dba1afbc85832e50fcd60a023af0f4aed4aa0e1e.zip
Version bump.
(Portage version: 2.2.0_alpha34/cvs/Linux i686)
Diffstat (limited to 'app-misc/nut')
-rw-r--r--app-misc/nut/ChangeLog7
-rw-r--r--app-misc/nut/nut-16.11.ebuild49
2 files changed, 55 insertions, 1 deletions
diff --git a/app-misc/nut/ChangeLog b/app-misc/nut/ChangeLog
index c5906c850cfc..b4d3ce572e6b 100644
--- a/app-misc/nut/ChangeLog
+++ b/app-misc/nut/ChangeLog
@@ -1,6 +1,11 @@
# 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.18 2011/04/05 15:50:39 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/nut/ChangeLog,v 1.19 2011/05/21 16:53:49 jer Exp $
+
+*nut-16.11 (21 May 2011)
+
+ 21 May 2011; Jeroen Roovers <jer@gentoo.org> +nut-16.11.ebuild:
+ Version bump.
*nut-16.9 (05 Apr 2011)
diff --git a/app-misc/nut/nut-16.11.ebuild b/app-misc/nut/nut-16.11.ebuild
new file mode 100644
index 000000000000..841405e1d728
--- /dev/null
+++ b/app-misc/nut/nut-16.11.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.11.ebuild,v 1.1 2011/05/21 16:53:49 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
+
+}