summaryrefslogtreecommitdiff
path: root/x11-plugins/wmDownload
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/wmDownload')
-rw-r--r--x11-plugins/wmDownload/Manifest3
-rw-r--r--x11-plugins/wmDownload/files/wmDownload-0.1.2a-makefile.patch4
-rw-r--r--x11-plugins/wmDownload/wmDownload-0.1.2a-r3.ebuild34
3 files changed, 38 insertions, 3 deletions
diff --git a/x11-plugins/wmDownload/Manifest b/x11-plugins/wmDownload/Manifest
index 24bb22edec35..648f58105062 100644
--- a/x11-plugins/wmDownload/Manifest
+++ b/x11-plugins/wmDownload/Manifest
@@ -1,4 +1,5 @@
-AUX wmDownload-0.1.2a-makefile.patch 802 BLAKE2B abeef6feafe56b8cbee6f0adc1913a07bc593e426c546320674beba554d9265460e6bde8b9af05a7e2da661a264f4ede86956e3ccc1ee4f43760244162500568 SHA512 fec1f86f3d861cb1a84dc137619dd866118b210a350472479db0afac52a615ccc92c75a89d8a49422917e624ef1c24825812a802ece7874b5897348f880820e6
+AUX wmDownload-0.1.2a-makefile.patch 801 BLAKE2B 6e54b6619150b239a418cc2f356690fc3f36e51f5ffda5c28b6b9d4af31caf741d1f27c6de3a032bdeb765477333022d4bd57aa01f511be08dd10b04074ee0c1 SHA512 e54e8ff7e5710cc2f888a6042c5e7886b71d5ab45b041c3e001bc5304abdaf0c2e125110ddfbf7d0c5116a47f86c24b7cf05e5e94ecdf2206f58e16f390b5683
DIST wmDownload-0.1.2a.tar.gz 11449 BLAKE2B abbb01eec5dc9dc2932d4e7857b850ba64b564618e6643282b9659623444062d785bcde41ddfc0684d02cee6ca62df847a341ecdab8d48de9dc751d906563a0a SHA512 95bc3f7c9be344d88146fd0b2407afe43f5975bbf2158fc54c9d9200a7f09b53af3a8cae790b2e26f8e34792317a28524422e0d4f96e0e603e05af92d6354752
EBUILD wmDownload-0.1.2a-r2.ebuild 838 BLAKE2B a76302d60d88d959bf25d59b8f24067cd26831cc78f07101c3dfa5c13d7e4a0bac56663709f9259efb8f42ac3b821db4d8d740ea5903dfa83eacb2a6b413260e SHA512 06510619884567e67a24ee64d45cdff2aa4b1611a8a9dbba3215a6338cd345cb972cef2519e9ee42e0e7faaa3bd0a859180f20b2f1a1f104e2181c0830b01354
+EBUILD wmDownload-0.1.2a-r3.ebuild 788 BLAKE2B eb04793763e54b942fdacaf3fe9c0b800f08892f0d84da7d9457404a90864069a776e53f304cc87ac5275b16b880f1e49ac176cc5a0920c4cdc936a3d9738764 SHA512 53af863e6069ca53a6b4f81359c9ba65d8c931b696648dbea0ecc3c7674f3762d3a54ff35dff30fc67994d210146becbceac6ab29cc01c7c76d97b6af2e7a31a
MISC metadata.xml 530 BLAKE2B 83a0108c3b8ef4c522f380c9444d8a7d8e71b58f7dca15a2abed6c0faea8b9f1a5a73a30ca9a93621449df2b2ed735fc532a491052593f888742e949adda9356 SHA512 8e325e295e99b9d11cd1c9b45fed8c0aa4d507a89a7529b70004355c4e4cae4b69544fecb2edf7630af1cca3ae6d8038e4ba14b90b6a49170a0ec26f4e2fcab5
diff --git a/x11-plugins/wmDownload/files/wmDownload-0.1.2a-makefile.patch b/x11-plugins/wmDownload/files/wmDownload-0.1.2a-makefile.patch
index 7dfdabc9cd76..67fe981d0c4d 100644
--- a/x11-plugins/wmDownload/files/wmDownload-0.1.2a-makefile.patch
+++ b/x11-plugins/wmDownload/files/wmDownload-0.1.2a-makefile.patch
@@ -1,5 +1,5 @@
---- Makefile.orig 2000-04-14 15:39:52.000000000 +0200
-+++ Makefile 2008-01-27 23:07:51.000000000 +0100
+--- a/Makefile 2000-04-14 15:39:52.000000000 +0200
++++ b/Makefile 2008-01-27 23:07:51.000000000 +0100
@@ -1,17 +1,17 @@
-CC = gcc
-CFLAGS = -O2 -Wall -fomit-frame-pointer -s
diff --git a/x11-plugins/wmDownload/wmDownload-0.1.2a-r3.ebuild b/x11-plugins/wmDownload/wmDownload-0.1.2a-r3.ebuild
new file mode 100644
index 000000000000..ca74298aa724
--- /dev/null
+++ b/x11-plugins/wmDownload/wmDownload-0.1.2a-r3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="dockapp that displays how much data you've received on each eth and ppp device"
+SRC_URI="mirror://sourceforge/wmdownload/${P}.tar.gz"
+HOMEPAGE="http://wmdownload.sourceforge.net/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/libdockapp-0.7:=
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
+DOCS=( CHANGELOG CREDITS HINTS README TODO )
+
+src_prepare() {
+ sed -e 's#<dockapp.h>#<libdockapp/dockapp.h>#' -i *.c || die
+ default
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" LIBDIR="/usr/$(get_libdir)"
+}