diff options
Diffstat (limited to 'app-misc/fslurp')
-rw-r--r-- | app-misc/fslurp/Manifest | 4 | ||||
-rw-r--r-- | app-misc/fslurp/files/fslurp-0.9-makefile.patch | 19 | ||||
-rw-r--r-- | app-misc/fslurp/files/fslurp-2.1.2-makefile.patch | 41 | ||||
-rw-r--r-- | app-misc/fslurp/files/fslurp-2.1.4-makefile.patch | 47 | ||||
-rw-r--r-- | app-misc/fslurp/fslurp-0.9.ebuild | 32 | ||||
-rw-r--r-- | app-misc/fslurp/fslurp-2.1.2.ebuild | 29 | ||||
-rw-r--r-- | app-misc/fslurp/fslurp-2.1.3.ebuild | 29 | ||||
-rw-r--r-- | app-misc/fslurp/fslurp-2.1.4.ebuild | 28 | ||||
-rw-r--r-- | app-misc/fslurp/metadata.xml | 16 |
9 files changed, 245 insertions, 0 deletions
diff --git a/app-misc/fslurp/Manifest b/app-misc/fslurp/Manifest new file mode 100644 index 000000000000..51687a55bd78 --- /dev/null +++ b/app-misc/fslurp/Manifest @@ -0,0 +1,4 @@ +DIST fslurp-0.9.tgz 22733 SHA256 2f0864e33a679407b37fd1d3c90f7ac0a83e0e2552ebcde257f3c65adba83747 SHA512 399c1441b849bb8a4b459916042d3dc883b81183438add27833aa2cac9cc2cb43b740a080dbadf22a99d35aa0e857e04c59bb6677e14980b472324b6244e5f1b WHIRLPOOL f734b3f1bf9ec92afaf027a1494708568415169317f995a0c111c596148be1cb4741b48ca04fc6b72cf06237f948a0d77476fa63aff9443ae49c58fb690ebdc6 +DIST fslurp-2.1.2.tgz 30088 SHA256 e952b90e6ca38a8263a6e3a508370ce8a35353ff730faf39fed5c261dcae3f7c SHA512 3eed2e48c2fac9c62d24c74394884e67d9ed671461f30cb4376892225d9b946c0abf3ea50cda212fc620700ac8a7f50a13b914b523f158fe141667b6fdbde685 WHIRLPOOL c584ba1a56d01665394cfa35f095caeb652bbd58a202b1cf314aa697620c8d417c02b68d2c4bc65b8946d92beeb693a12233319c587082808b2d72b5b8656ec7 +DIST fslurp-2.1.3.tgz 30865 SHA256 b8c5e59da56c29f98cc73eee94eb40849809e73568328e79ec351ba1de75b516 SHA512 b60d9fbacb4ae5a59c08dc91eb565b469830cd1050f735ad4d46f498e451f58e02bfb2b6587ed5918e133fa5988a6a65dba8fba34cf1467c0662ae3660e5ec04 WHIRLPOOL 17a20f4b1ab5c24e15f95e57a7c855922308de0131fa93e97b8245c1b4c7009444023a4e51b724132c1153989b7cb1553762bff40776256fde8abda3a94b3095 +DIST fslurp-2.1.4.tgz 33524 SHA256 4120675d38ff09c2d59a55192738e3bdfd3430a818504177c873ed04380087c0 SHA512 db209da30735de88245b5a79b65e441a426c793464a8607231156e9a5bea47884edbdf16e5ef83eaed6a4212835d0cac763ed0ed012d06757d2902ef01d88c6e WHIRLPOOL e0f8470cec0882f499602f37c6d526d9287d9fd4980d9b10b71e46dec9a623b96568c9a22ce36e1e4d2f67ffde08bb8a2c14d98d9b9c62a09cc92738d2c3c911 diff --git a/app-misc/fslurp/files/fslurp-0.9-makefile.patch b/app-misc/fslurp/files/fslurp-0.9-makefile.patch new file mode 100644 index 000000000000..5c2eea232082 --- /dev/null +++ b/app-misc/fslurp/files/fslurp-0.9-makefile.patch @@ -0,0 +1,19 @@ +--- fslurp-0.9/makefile ++++ fslurp-0.9/makefile +@@ -6,14 +6,14 @@ + + INCLUDES = fslurp.h fronius.h externs.h + +-CFLAGS = -Wall ++CFLAGS += -Wall + + LINKFLAGS = -lm + + VERSION := fslurp-$(shell tail -1 version) + + fslurp: $(SOURCE) $(INCLUDES) +- gcc $(CFLAGS) -o fslurp $(SOURCE) $(LINKFLAGS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o fslurp $(SOURCE) $(LINKFLAGS) + + test: fslurp + ./fslurp diff --git a/app-misc/fslurp/files/fslurp-2.1.2-makefile.patch b/app-misc/fslurp/files/fslurp-2.1.2-makefile.patch new file mode 100644 index 000000000000..487bb1fc0e6a --- /dev/null +++ b/app-misc/fslurp/files/fslurp-2.1.2-makefile.patch @@ -0,0 +1,41 @@ +--- fslurp-2.1.2/Makefile ++++ fslurp-2.1.2/Makefile +@@ -46,31 +46,31 @@ + SIMINCLUDES = simulator.h + + #DEBUGFLAGS = -g +-CFLAGS = -c -Wall $(DEBUGFLAGS) ++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) + + test: $(TARGETS) clean + ./testcase.sh 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-0.9.ebuild b/app-misc/fslurp/fslurp-0.9.ebuild new file mode 100644 index 000000000000..96a548caf72f --- /dev/null +++ b/app-misc/fslurp/fslurp-0.9.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +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" +IUSE="" + +RESTRICT="test" + +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch + rm fslurp || die +} + +src_compile() { + emake -f makefile CC="$(tc-getCC)" +} + +src_install() { + dobin ${PN} + dodoc History README SampleOutput +} diff --git a/app-misc/fslurp/fslurp-2.1.2.ebuild b/app-misc/fslurp/fslurp-2.1.2.ebuild new file mode 100644 index 000000000000..777dc6354375 --- /dev/null +++ b/app-misc/fslurp/fslurp-2.1.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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" +IUSE="" + +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/fslurp-2.1.3.ebuild b/app-misc/fslurp/fslurp-2.1.3.ebuild new file mode 100644 index 000000000000..146a98929eef --- /dev/null +++ b/app-misc/fslurp/fslurp-2.1.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.1.2-makefile.patch +} + +src_compile() { + emake CC="$(tc-getCXX)" +} + +src_install() { + dobin ${PN} + dodoc History README TODO +} 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..d195958c2d3c --- /dev/null +++ b/app-misc/fslurp/fslurp-2.1.4.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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..7c3071bff69c --- /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> + <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> |