summaryrefslogtreecommitdiff
path: root/app-misc/nut
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/nut
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/nut')
-rw-r--r--app-misc/nut/Manifest5
-rw-r--r--app-misc/nut/metadata.xml8
-rw-r--r--app-misc/nut/nut-20.1.ebuild28
3 files changed, 41 insertions, 0 deletions
diff --git a/app-misc/nut/Manifest b/app-misc/nut/Manifest
new file mode 100644
index 000000000000..9e1da932fb66
--- /dev/null
+++ b/app-misc/nut/Manifest
@@ -0,0 +1,5 @@
+DIST nut-20.1.tar.gz 1441077 SHA256 3f8c648669d4e9af3a7684fffb74baefb04f29bfe5a847acb3aa9df3540c4c7c SHA512 2ed79fb345f029f5deaed4e23531256f2f76f5ca05ae46d3d5f4503fef663cde81f6695a9b5b741d02c5880ef611fa8495fcce3bcadf1ca8abdbc2b395bced6a WHIRLPOOL 1ae20ff747e77de007281740337dfde19370d621e2bac264ed9922ce691118680ab33ffc97b0c61e529b6c1e9e6567266eb7176ee96e620a0081b68c1db18150
+EBUILD nut-20.1.ebuild 550 SHA256 5b9a762684b1dd157c30fb7ddedb1d409f530fd80b8b64179a49a53794cc5cca SHA512 642b0ee3dfb59bfd56aa4c4f628a1b1a5105ebac8651868f60c732e6dc8e60542bd9ed53e2feb4ebc451624e2e686d6bc37d0dbdff4b6d5cf3fe3b2bfed0c66a WHIRLPOOL 7464f8d1173763d4eae925145ce426a94600ab324e87aebbfd40c94d1bf342d89dffc2bab40aa1104d305e7a25fe65c504de092200d070e755c79c44d178ea22
+MISC ChangeLog 2508 SHA256 db15c06dea4bf87a0a2e64870335930b8a5a3b92d720d7c4c195f2fdbe94b9c1 SHA512 0678fb54b16a58f464c9eb0626b0fed4e084acc0074efc4ad09ca802c7a475835f348368c003105a0599537c1e25bf4a485841779469187523cddc872ec9cfaa WHIRLPOOL ac7c6a1e4581794374ead09bb5b2717826e6bc0f3cff61793e6ea316274d023b433076305f7e667e8977e173cdef559090aec581f4da4bcdd6a7525885d4cc22
+MISC ChangeLog-2015 10551 SHA256 41ee8c9a2c9fbcadbd8455cf43d29bf42ed2dd6338b1e753659dbb819d896c78 SHA512 32fd745f131b36ceeca5c4a399f90473e38c03a3ef753900630d0f9fe8b4c1134131290d866df1baa137dcb8f49b4725dd3b48cf21c20a42192d82aa36505111 WHIRLPOOL 4fbbe372211c4f908e42c5fd51a97188093bf364b1b34d5b811ae0bd0196a794493e38367506fc26589e62f0187714ae11be4d350f768ff7331facc8bf3f61c5
+MISC metadata.xml 240 SHA256 9d7d52f51b810a2357d6d4c8b697e7fe9c38faf429d7f677f2299fff0dc265ca SHA512 e15cb3ce921cd91bbd35380b54275fb316cb61e132a7d11f679afe1b191c54e117953b1102ea1c86d73b59f6f13613cab9c37b0c077a21f2715aff61a413cbf9 WHIRLPOOL eda845be1d6d9a6a0c70f95ea552361804f47b52a3e33c89bdb31e3b64f1cfefcb86bb7fe6085687fbcb05c5d2d19c74aa389a85b0243cd85b2842255b324b6f
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
+}