summaryrefslogtreecommitdiff
path: root/app-misc/nut
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/nut')
-rw-r--r--app-misc/nut/Manifest3
-rw-r--r--app-misc/nut/metadata.xml8
-rw-r--r--app-misc/nut/nut-20.1.ebuild28
3 files changed, 39 insertions, 0 deletions
diff --git a/app-misc/nut/Manifest b/app-misc/nut/Manifest
new file mode 100644
index 000000000000..ba14e0ff65cd
--- /dev/null
+++ b/app-misc/nut/Manifest
@@ -0,0 +1,3 @@
+DIST nut-20.1.tar.gz 1441077 BLAKE2B 70233f6bee4df5c9eee91a313506e545accdd68e10b0ef71dcf42d83082fe44dc9d48e049801efb7e7f26458dfb079cc824aec3e314d63b27a4b06dc75950528 SHA512 2ed79fb345f029f5deaed4e23531256f2f76f5ca05ae46d3d5f4503fef663cde81f6695a9b5b741d02c5880ef611fa8495fcce3bcadf1ca8abdbc2b395bced6a
+EBUILD nut-20.1.ebuild 550 BLAKE2B 44b60b5c6a9df83cb564b9df6efb96e281fa73102c5d4880f67e4ac8768a8398b755bb6854a59eb6837d4743bf8a9e78f45801c4a58d67e6ef2cb05437a2b934 SHA512 642b0ee3dfb59bfd56aa4c4f628a1b1a5105ebac8651868f60c732e6dc8e60542bd9ed53e2feb4ebc451624e2e686d6bc37d0dbdff4b6d5cf3fe3b2bfed0c66a
+MISC metadata.xml 240 BLAKE2B 466e0fb40b32dadf0d9da30dd0f76744e00ad50624d7af31496897906fc02b13f506a438c6f96cd90dcd6fc7cabb537e6c55fa1bac98d46ca46b191af3f974e9 SHA512 e15cb3ce921cd91bbd35380b54275fb316cb61e132a7d11f679afe1b191c54e117953b1102ea1c86d73b59f6f13613cab9c37b0c077a21f2715aff61a413cbf9
diff --git a/app-misc/nut/metadata.xml b/app-misc/nut/metadata.xml
new file mode 100644
index 000000000000..9f2111ca9eb9
--- /dev/null
+++ b/app-misc/nut/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="sourceforge">nut</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-misc/nut/nut-20.1.ebuild b/app-misc/nut/nut-20.1.ebuild
new file mode 100644
index 000000000000..3c028aa44a87
--- /dev/null
+++ b/app-misc/nut/nut-20.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit 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="~alpha amd64 ~arm ppc x86"
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ OPT="${CFLAGS}" FOODDIR=\\\"/usr/share/nut\\\" \
+ nut
+}
+
+src_install() {
+ insinto /usr/share/nut
+ doins raw.data/*
+
+ dobin nut
+ doman nut.1
+}