blob: c7bcbd634558d24b0f7d18aa5a50fd2bc88cc1a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmldonkey/wmmldonkey-0.003.ebuild,v 1.6 2009/01/19 14:56:59 s4t4n Exp $
DESCRIPTION="wmmsg is a dockapp to show the up and downloadrate from your mldonkey"
HOMEPAGE="http://dockapps.org/file.php/id/174"
SRC_URI="http://dockapps.org/download.php/id/298/wmmldonkey3.tar.gz"
LICENSE="GPL-1"
SLOT="0"
KEYWORDS="x86"
IUSE=""
S=${WORKDIR}/wmmldonkey3
RDEPEND="x11-libs/libXext
x11-libs/libX11
x11-libs/libXpm"
DEPEND="${RDEPEND}
net-p2p/mldonkey"
src_unpack()
{
unpack ${A}
sed -e 's:gcc:gcc ${CFLAGS}:' \
-e 's:gui_protocol.o endianess.o::' \
-e 's:main.c -o wmmldonkey:main.c gui_protocol.o endianess.o -o wmmldonkey:' \
-e 's:-lXpm -lXext:-lX11 -lXpm -lXext:' \
-i "${S}/Makefile"
}
src_install()
{
dodoc CHANGELOG README
exeinto /usr/bin
doexe wmmldonkey
}
pkg_postinst()
{
einfo "Make sure the mldonkey daemon is running before you"
einfo "attempt to run emmldonkey..."
}
|