blob: 3073a754b7d4f51ca8aac4b309ea4712a76e0844 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/gnunet-0.4.2.ebuild,v 1.1 2002/07/10 18:42:29 rphillips Exp $
DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network."
HOMEPAGE="http://www.ovmj.org/GNUnet/index.php3"
LICENSE="GPL-2"
DEPEND=">=dev-libs/openssl-0.9.6d
>=sys-libs/gdbm-1.8.0
=dev-libs/glib-1.2*
=x11-libs/gtk+-1.2*
>=dev-libs/libextractor-0.1.0"
RDEPEND="${DEPEND}"
SRC_URI="http://www.ovmj.org/GNUnet/download/GNUnet-${PV}.tar.bz2"
S=${WORKDIR}/GNUnet-${PV}
src_compile () {
./configure \
--host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man || die "./configure failed"
emake || die
}
src_install () {
make DESTDIR=${D} install || die
dodoc AUTHORS COPYING INSTALL NEWS README
mkdir ${D}/usr/share/gnunet
cp ${S}/contrib/gnunet.conf* ${D}/usr/share/gnunet
cp ${FILESDIR}/gnunet ${D}/usr/share/gnunet
}
pkg_postinstall () {
einfo "Default configuration files are provided in /usr/share/gnunet"
einfo "An example rc script for gentoo is also available and "
einfo "should be run by permanent nodes."
einfo "Read the docs for more details"
}
|