diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/fslurp | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/fslurp')
-rw-r--r-- | app-misc/fslurp/Manifest | 4 | ||||
-rw-r--r-- | app-misc/fslurp/files/fslurp-2.1.4-makefile.patch | 47 | ||||
-rw-r--r-- | app-misc/fslurp/fslurp-2.1.4.ebuild | 27 | ||||
-rw-r--r-- | app-misc/fslurp/metadata.xml | 16 |
4 files changed, 94 insertions, 0 deletions
diff --git a/app-misc/fslurp/Manifest b/app-misc/fslurp/Manifest new file mode 100644 index 000000000000..e4dbb796b7b4 --- /dev/null +++ b/app-misc/fslurp/Manifest @@ -0,0 +1,4 @@ +AUX fslurp-2.1.4-makefile.patch 1017 BLAKE2B 43d74e9a146b5a752b827b725d23617ddb208cb0f18c5571c1a08e6a166cddc9daaf9f35b9a6f3aee494c1b6226062d653868555263c84b421f4b5a0fb155071 SHA512 87bdfc820f9b50bc155933e2dbafe94a0e66162516787ec4ef9be7ded578cc919ed22b5e9728965eba77471a1b79b64be459ebfe9efd9d16aa4af1bd3d74403f +DIST fslurp-2.1.4.tgz 33524 BLAKE2B bcc79b73eaf1efe98805c416f3eed0af8d4848e8867608f09f14f6cba78e247e6fa5d34b310a8a0f9d1816f03a677c14f5648a00f97c55703e974c9edf6356a6 SHA512 db209da30735de88245b5a79b65e441a426c793464a8607231156e9a5bea47884edbdf16e5ef83eaed6a4212835d0cac763ed0ed012d06757d2902ef01d88c6e +EBUILD fslurp-2.1.4.ebuild 519 BLAKE2B 3044522e9b4d69ca5f29a5d1373c0e8d0364679154efe5c2e68c7df6c8c70c642fe75379d8664c691f671d0db7062c3adaaf107b3153642797f5faa1c7cef580 SHA512 e3a57a79da20e739259c16ce56a5c73dbfaf7a5175da8889b0651060bef7e55879a3e453c0753cfb7579a710e92cfa149176569ac4470e2364bd7f6915e41d04 +MISC metadata.xml 574 BLAKE2B 4b73e735fbf07b150fa30394998ecd45ba6ad8c8922f3068134e114b695ea31cc0cc95d259c6c62c2b9dfd46083f546424d46bd602d150ae28473345349627af SHA512 3448d23525dd7ea5bb0fd57625cc38759098a3a7ed3f428cc5d94003fa18e0d861b369120f3e616fcc98b9253c42d795e5e28e709676bc5136406230e8b69822 diff --git a/app-misc/fslurp/files/fslurp-2.1.4-makefile.patch b/app-misc/fslurp/files/fslurp-2.1.4-makefile.patch new file mode 100644 index 000000000000..f231c170a4a2 --- /dev/null +++ b/app-misc/fslurp/files/fslurp-2.1.4-makefile.patch @@ -0,0 +1,47 @@ +--- fslurp-2.1.4/Makefile ++++ fslurp-2.1.4/Makefile +@@ -51,35 +51,35 @@ + INCLUDES = fslurp.h fronius.h + SIMINCLUDES = simulator.h + +-DEBUGFLAGS = -g +-CFLAGS = -c -Wall $(DEBUGFLAGS) ++#DEBUGFLAGS = -g ++CFLAGS += -c -Wall $(DEBUGFLAGS) + +-LDFLAGS = -lm ++LIBS = -lm + + VERSION := fslurp-$(shell tail -1 version) + + all: $(TARGETS) + + fslurp: $(FSLURP_OBJS) +- $(CC) $(LDFLAGS) $^ -o $@ ++ $(CC) $(LDFLAGS) $^ -o $@ $(LIBS) + + simSolarNet2i1s: \ + $(SIMSOLARNET2I1S_OBJS) +- $(CC) $(LDFLAGS) $^ -o $@ ++ $(CC) $(LDFLAGS) $^ -o $@ $(LIBS) + + simSolarNet1i0s: \ + $(SIMSOLARNET1I0S_OBJS) +- $(CC) $(LDFLAGS) $^ -o $@ ++ $(CC) $(LDFLAGS) $^ -o $@ $(LIBS) + + simSolarNet0i0s: \ + $(SIMSOLARNET0I0S_OBJS) +- $(CC) $(LDFLAGS) $^ -o $@ ++ $(CC) $(LDFLAGS) $^ -o $@ $(LIBS) + + simIFCEasy: $(SIMIFCEASY_OBJS) +- $(CC) $(LDFLAGS) $^ -o $@ ++ $(CC) $(LDFLAGS) $^ -o $@ $(LIBS) + + sim422IGTL: $(SIM422IGTL_OBJS) +- $(CC) $(LDFLAGS) $^ -o $@ ++ $(CC) $(LDFLAGS) $^ -o $@ $(LIBS) + + test: $(TARGETS) clean + ./testcase.sh diff --git a/app-misc/fslurp/fslurp-2.1.4.ebuild b/app-misc/fslurp/fslurp-2.1.4.ebuild new file mode 100644 index 000000000000..b1e3a45e6a79 --- /dev/null +++ b/app-misc/fslurp/fslurp-2.1.4.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="Read and display data from Fronius IG and IG Plus inverters" +HOMEPAGE="http://fslurp.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 x86" + +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch +} + +src_compile() { + emake CC="$(tc-getCXX)" +} + +src_install() { + dobin ${PN} + dodoc History README TODO +} diff --git a/app-misc/fslurp/metadata.xml b/app-misc/fslurp/metadata.xml new file mode 100644 index 000000000000..43980587e9e8 --- /dev/null +++ b/app-misc/fslurp/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>radhermit@gentoo.org</email> + <name>Tim Harder</name> + </maintainer> + <longdescription lang="en"> + fslurp is a program to pull the data from a Fronius Interface Card easy + that works with most Fronius IG and IG Plus inverters. It supports both + human-readable output and delimited (CSV-style) output. + </longdescription> + <upstream> + <remote-id type="sourceforge">fslurp</remote-id> + </upstream> +</pkgmetadata> |