summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/wmDownload')
-rw-r--r--x11-plugins/wmDownload/ChangeLog8
-rw-r--r--x11-plugins/wmDownload/Manifest4
-rw-r--r--x11-plugins/wmDownload/files/wmDownload-0.1.2a-makefile.patch28
-rw-r--r--x11-plugins/wmDownload/wmDownload-0.1.2a-r1.ebuild36
4 files changed, 74 insertions, 2 deletions
diff --git a/x11-plugins/wmDownload/ChangeLog b/x11-plugins/wmDownload/ChangeLog
index 1eacb386a05c..4673adfbf6fc 100644
--- a/x11-plugins/wmDownload/ChangeLog
+++ b/x11-plugins/wmDownload/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-plugins/wmDownload
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmDownload/ChangeLog,v 1.9 2007/02/06 01:50:37 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmDownload/ChangeLog,v 1.10 2008/02/19 15:18:24 s4t4n Exp $
+
+*wmDownload-0.1.2a-r1 (19 Feb 2008)
+
+ 19 Feb 2008; Michele Noberasco <s4t4n@gentoo.org> wmDownload-0.1.2a-r1.ebuild,
+ files/wmDownload-0.1.2a-makefile.patch:
+ Revision bump, see bug #207762.
06 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/x11-plugins/wmDownload/Manifest b/x11-plugins/wmDownload/Manifest
index c0b8c46167d3..49869715b08a 100644
--- a/x11-plugins/wmDownload/Manifest
+++ b/x11-plugins/wmDownload/Manifest
@@ -1,4 +1,6 @@
+AUX wmDownload-0.1.2a-makefile.patch 802 RMD160 dd14d44be814597b8f29ef9ffff68401713dd604 SHA1 edf901dc708ea196d36c7e5b01f44324990713e7 SHA256 76aff147b847da7178235320d5041b6ebcd3cdd4e93ce35446db1be59acbb290
DIST wmDownload-0.1.2a.tar.gz 11449 RMD160 fbb22422dab82c290f4ae7572063c8671d4065c0 SHA1 bbc98c21b7c97b5042a7c3abe33114e4b448644b SHA256 77178290b9ac6e6b590280c8a9c6494fbe7853fff453e37651dd2ef9915c7213
+EBUILD wmDownload-0.1.2a-r1.ebuild 936 RMD160 609a2ee1399a1d6061c910b98a4193232fc5c5e1 SHA1 a36ca9a0202b88b3fe439d3ba84bced999163bd1 SHA256 2d8b487be59799e69909103730db48e70a6189cdd37e12075cc2019a27d545a1
EBUILD wmDownload-0.1.2a.ebuild 732 RMD160 cbdbfa38648c8cbc931d6436b67ba605549d6414 SHA1 3ab6e3f5925f899c561c7b40e23da1516571eeba SHA256 0c808df9ce94f26aabab960d64c7cd294a25c080363544c4e860035594a61b7f
-MISC ChangeLog 1119 RMD160 3d52e0793248c385a89d1133eab787b798ded76f SHA1 fa49fd43ea6d7ffb00d7c68cc77e408cb14fb009 SHA256 8567cfe7be9c6eb2e367198fd3bf798c5738f3219a3110074cc478bfeb5446db
+MISC ChangeLog 1311 RMD160 3e3c3e7176f960083e6e48fd42a824393c4e6bca SHA1 21a6a296dc27ee9cdec2b6b386533d7197107fc1 SHA256 96f4cc688c8c84649b5866bffa24da3b27e29c53e093cbd2647b39f488e6a3d4
MISC metadata.xml 364 RMD160 8b9f39b5cfa1037892821cdddcb1148f32a9e823 SHA1 fb2efbd50c44b70356c50bc09ddf54e6cfeffff6 SHA256 42819749a986658704bda97290dcf5700c5186670d1f542cdad824cc59c8a1e0
diff --git a/x11-plugins/wmDownload/files/wmDownload-0.1.2a-makefile.patch b/x11-plugins/wmDownload/files/wmDownload-0.1.2a-makefile.patch
new file mode 100644
index 000000000000..7dfdabc9cd76
--- /dev/null
+++ b/x11-plugins/wmDownload/files/wmDownload-0.1.2a-makefile.patch
@@ -0,0 +1,28 @@
+--- Makefile.orig 2000-04-14 15:39:52.000000000 +0200
++++ Makefile 2008-01-27 23:07:51.000000000 +0100
+@@ -1,17 +1,17 @@
+-CC = gcc
+-CFLAGS = -O2 -Wall -fomit-frame-pointer -s
+-INCDIR = -I/usr/X11R6/include/X11
+-DESTDIR= /usr/bin
+-LIBDIR = -L/usr/X11R6/lib
++CC ?= gcc
++CFLAGS += -Wall
++INCDIR = -I/usr/include/X11
++PREFIX = /usr
++LIBDIR ?= /usr/lib
+ LIBS = -ldockapp -lX11 -lXext -lXpm
+ OBJS = wmDownload.o
+
+ wmDownload: $(OBJS)
+- $(CC) $(CFLAGS) $(OBJS) -o wmDownload $(INCDIR) $(LIBDIR) $(LIBS)
++ $(CC) $(CFLAGS) $(OBJS) -o wmDownload $(INCDIR) -L$(LIBDIR) $(LDFLAGS) $(LIBS)
+
+ install: wmDownload
+- strip wmDownload
+- install -s wmDownload $(DESTDIR)
++ install -d $(DESTDIR)$(PREFIX)/bin
++ install -m 0755 wmDownload $(DESTDIR)$(PREFIX)/bin
+
+ uninstall:
+ rm -f $(DESTDIR)/wmDownload
diff --git a/x11-plugins/wmDownload/wmDownload-0.1.2a-r1.ebuild b/x11-plugins/wmDownload/wmDownload-0.1.2a-r1.ebuild
new file mode 100644
index 000000000000..f2bf46bd4279
--- /dev/null
+++ b/x11-plugins/wmDownload/wmDownload-0.1.2a-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmDownload/wmDownload-0.1.2a-r1.ebuild,v 1.1 2008/02/19 15:18:24 s4t4n Exp $
+
+inherit eutils multilib 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="~x86 ~amd64 ~ppc ~sparc"
+IUSE=""
+
+DEPEND="x11-libs/libdockapp
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXpm"
+
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-makefile.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" LIBDIR="/usr/$(get_libdir)" || die "compile failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc CHANGELOG CREDITS HINTS README TODO
+}