blob: 01a3dde1a76a0c1f61353a3c99084ad572ede73a (
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-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/mnet/mnet-0.6.2.383.ebuild,v 1.2 2004/04/28 15:59:30 dholm Exp $
IUSE="gtk"
S=${WORKDIR}/${PN}
DESCRIPTION="Mnet is a universal file space. It is formed by an emergent network of autonomous nodes which self-organize to make the network robust and efficient."
SRC_URI="mirror://sourceforge/${PN}/${P/m/M}-STABLE-src.tar.gz"
RESTRICT="nomirror"
HOMEPAGE="http://mnet.sourceforge.net/"
DEPEND="dev-lang/python"
RDEPEND="virtual/glibc
dev-lang/python
gtk? ( dev-python/wxPython )"
LICENSE="LGPL-2.1"
KEYWORDS="~x86 ~ppc"
SLOT="0"
src_compile() {
EXTSRCDIR="${WORKDIR}/extsrc/" MNETDIR="${S}" make build
}
src_install() {
dodoc COPYING CREDITS ChangeLog overview.txt hackerdocs/*
dobin Mnet.sh
rm Mnet.sh COPYING CREDITS ChangeLog overview.txt hackerdocs/*
dodir /usr/share/mnet
cp -r ${S}/* ${D}/usr/share/mnet
insinto /etc/env.d
doins ${FILESDIR}/96mnet
}
pkg_postinst() {
einfo "If this is the first time Mnet is merged, please run 'env-update'"
einfo "and 'source /etc/profile', otherwise execute 'Mnet.sh'"
}
|