blob: fdba55d9f0c65dc3b0d376769d535d98657a50c9 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/ed2k-gtk-gui/ed2k-gtk-gui-0.6.4.ebuild,v 1.5 2008/04/13 14:48:51 betelgeuse Exp $
DESCRIPTION="GTK+ Client for overnet or edonkey"
HOMEPAGE="http://ed2k-gtk-gui.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
RESTRICT="mirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
RDEPEND=">=x11-libs/gtk+-2.0
>=net-libs/gnet-1.1"
DEPEND="dev-util/pkgconfig
${RDEPEND}"
src_compile() {
econf || die "econf failed"
sed -i -e "s:-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED::g" ed2k_gui/Makefile
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
}
pkg_postinst() {
echo
einfo "Please refer to ${HOMEPAGE} if you are"
einfo "unable to set up the client."
echo
ewarn "ed2k-gtk-gui requires access to an overnet/edonkey core. If you"
ewarn "do not have access to a core, you can install net-p2p/(overnet,edonkey)."
echo
}
|