1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
11 DESCRIPTION="P2P sharing software which connects through I2P and Kad network"
12 # New homepage has a few resources and a working nodes.dat file users need
13 # in order to get iMule to work
14 HOMEPAGE="http://echelon.i2p/imule"
15 SRC_URI="http://echelon.i2p/imule/${PV}/${MY_PN}-${PV}-src.tbz https://dev.gentoo.org/~zlg/extra/net-p2p/imule/2015-03-22_nodes.dat"
19 IUSE="webserver static-libs nls"
21 # wxGTK 2.8 is required; later versions result in failed compile
22 # Other versions indicated are from the tarball's INSTALL file
23 DEPEND="x11-libs/wxGTK:2.8
25 >=net-libs/libupnp-1.6.6
28 >=dev-libs/crypto++-5.1"
29 RDEPEND="x11-libs/wxGTK:2.8 net-p2p/i2p"
31 S="${WORKDIR}/${MY_PN}-${PV}-src"
34 WX_GTK_VER="2.8" need-wxwidgets unicode
35 # Enabling imulecmd results in a compilation error.
36 econf --with-wx-config=${WX_CONFIG} \
37 --enable-imule-daemon \
43 $(use_enable webserver) \
44 $(use_enable static-libs static)
48 elog "iMule will not function without a valid 'nodes.dat' file and"
49 elog "an I2P router running."
50 elog "The nodes.dat file can be found at http://echelon.i2p/imule."