diff options
Diffstat (limited to 'x11-plugins/gkrellm-imonc')
-rw-r--r-- | x11-plugins/gkrellm-imonc/Manifest | 6 | ||||
-rw-r--r-- | x11-plugins/gkrellm-imonc/files/gkrellm-imonc-makefile.patch | 35 | ||||
-rw-r--r-- | x11-plugins/gkrellm-imonc/gkrellm-imonc-0.2-r1.ebuild | 28 | ||||
-rw-r--r-- | x11-plugins/gkrellm-imonc/metadata.xml | 8 |
4 files changed, 77 insertions, 0 deletions
diff --git a/x11-plugins/gkrellm-imonc/Manifest b/x11-plugins/gkrellm-imonc/Manifest new file mode 100644 index 000000000000..e9864c8e2576 --- /dev/null +++ b/x11-plugins/gkrellm-imonc/Manifest @@ -0,0 +1,6 @@ +AUX gkrellm-imonc-makefile.patch 744 SHA256 aa85431550463b6255f21be17ef2f719e394132f10afc191ea94e4414c564253 SHA512 69181444d2d83c872d0f480db26f2538633556c5f63cb592de9d1aabe05581138aca93f8098147e2b56ec6ad79763bd7e876dea19aabab9d7ad80be08b7fd517 WHIRLPOOL d095c560a5325751b0e9b52409f873cef52eb76d4f32a8d93b5296e52dded1663c63c0dfeb7e95b1058f75a0e78297250bbba383c217e20cba21eae73f01e0c5 +DIST gkrellm-imonc-src-0.2.tar.bz2 19189 SHA256 14ef27b6c21e65b9a4408acce3c7b8134a8857f7bf275963b59f4ebc3358ce92 SHA512 b6f5d8cfa90c708ed6e43d676c965ef0d850d12497adae35122fe07ac4ea235dd024b8415fbc40cf153e1bbcbeed1e632984b6f1e5ec9079a1fcfce915ace36e WHIRLPOOL 41a019f17ad4e1e2fa389a22814f1b2d86bf7099e68c9c62b82430d6915514912f8c3aacf50ce8742c86d3aa91cfadf60c15a0ab47f97db1ed427b12b79b14ae +EBUILD gkrellm-imonc-0.2-r1.ebuild 668 SHA256 37153174935f4d967330836b229aa110ee5a51e9a65dae0238a46c19fee7b3eb SHA512 23b65a9feaf00652ce895a4c1eee448f90162199f593d4217dde09821070d1ae3fa8bfd6eb922b12768d6e4a5366cb091fff7b71fab17e100dbd7ac150872b1b WHIRLPOOL d09f73e95f92a3afd08a275b5ffb771653b340b1af5ff1fa54aa7b0c9089899ac128a99727332ed098935b1fb9f6ad0a43766afb93bc53a9c4975abcb851cf77 +MISC ChangeLog 3032 SHA256 f41f52c44f9dae740ea0907b96538b6ee2f5de2637622a33d68126a96feb99c7 SHA512 38e4736f2669a7c732e917ed50f0b03a050d069e31d5faaaa1d38f890dba0cf83d404add6966a2a2429a6fa5c036957a2bf1918c8ad29e6124f30124e53c8664 WHIRLPOOL 14386ef8a41be8d91be039bf1f0633bcb9b483eb51f918ca78529f6aef643bb6fb7f5f049313f4f0355b6ac7f3adbd9ec465a88ba44bd3ecaec1bd7334baff00 +MISC ChangeLog-2015 1014 SHA256 2f2d9a618ec1ab630bf1a027ce1cbab4bfdd55de93c5f5a104c1d49308cb10fc SHA512 d9f2b54482f29402bbff1e4b3a5af2f8588836099f33060ea31afd7ac7bc93a275a8a60fd11a43546c45a1b073db13ede30034207ecbbe120e13d16ed500ed92 WHIRLPOOL f81c92cdb3db503df9d2df7954c22fc04bcd4053954de0efd9bf480b67ada58ad4b08879d510d3b74cbe1dfaac68444ce7654e39b65f05698f1ff8882f76c014 +MISC metadata.xml 250 SHA256 ff18064807a1d6900195660bdb5572e52d4147c812a5dfaf4c27117839a3150a SHA512 ee33e9f804547c64d7fcf1fa34e38d84606cf6a11315fb0c2f765c278cbb70094d2bbad282cdcd198d04a949944bdd58bafbf0f6fd1597b30a6de8b3a79c2053 WHIRLPOOL 6b49ec5446b8077046aaacd64e6b4d2d30db891f2605de93fd8aa060f60d84a91d3b69949c00b4a3d52f3ea6f442d4a24e50676f4c5cdeae0974005259385e06 diff --git a/x11-plugins/gkrellm-imonc/files/gkrellm-imonc-makefile.patch b/x11-plugins/gkrellm-imonc/files/gkrellm-imonc-makefile.patch new file mode 100644 index 000000000000..598e5d8460c7 --- /dev/null +++ b/x11-plugins/gkrellm-imonc/files/gkrellm-imonc-makefile.patch @@ -0,0 +1,35 @@ +--- a/Makefile 2003-05-17 20:08:29.000000000 +0200 ++++ b/Makefile 2013-03-13 18:24:24.552941672 +0100 +@@ -9,12 +9,10 @@ + GTK_INCLUDE = $(shell pkg-config gtk+-2.0 --cflags) + GTK_LIB = $(shell pkg-config gtk+-2.0 --libs) + +-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) ++FLAGS = -fPIC $(GTK_INCLUDE) + LIBS = $(GTK_LIB) + +-LFLAGS = -shared +- +-CC = gcc ++LFLAGS = -shared + + # + # files +@@ -30,7 +28,7 @@ + + + %.o : %.c +- $(CC) $(CFLAGS) $(FLAGS) -c $< -o $@ ++ $(CC) $(CFLAGS) $(LDFLAGS) $(FLAGS) -c $< -o $@ + + + all: +@@ -41,7 +39,7 @@ + + $(TARGET): $(OBJECTS) + @echo -e "\n\n>> linking\n" +- $(CC) $(OBJECTS) -o $@ $(LFLAGS) $(LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJECTS) -o $@ $(LFLAGS) $(LIBS) + @echo -e "\n<< done " + + install: gkrellm-imonc.so diff --git a/x11-plugins/gkrellm-imonc/gkrellm-imonc-0.2-r1.ebuild b/x11-plugins/gkrellm-imonc/gkrellm-imonc-0.2-r1.ebuild new file mode 100644 index 000000000000..3ab0c71bc701 --- /dev/null +++ b/x11-plugins/gkrellm-imonc/gkrellm-imonc-0.2-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gkrellm-plugin + +DESCRIPTION="A GKrellM2 plugin to control a fli4l router" +SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.tar.bz2" +HOMEPAGE="http://${PN}.sourceforge.net/" + +# The COPYING file contains the GPLv2, but the file headers say GPLv2+. +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 x86" +IUSE="" + +COMMON_DEPEND="app-admin/gkrellm[X]" +DEPEND+=" ${COMMON_DEPEND}" +RDEPEND+=" ${COMMON_DEPEND}" + +S="${WORKDIR}/${PN}-src-${PV}" + +PATCHES=( "${FILESDIR}/${PN}-makefile.patch" ) + +src_compile() { + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" +} diff --git a/x11-plugins/gkrellm-imonc/metadata.xml b/x11-plugins/gkrellm-imonc/metadata.xml new file mode 100644 index 000000000000..5e5c0170d038 --- /dev/null +++ b/x11-plugins/gkrellm-imonc/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">gkrellm-imonc</remote-id> + </upstream> +</pkgmetadata> |