summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannes Mehnert <hannes@gentoo.org>2002-12-12 17:33:59 +0000
committerHannes Mehnert <hannes@gentoo.org>2002-12-12 17:33:59 +0000
commit85dfd8d44ef5310dbc421aa752ea6bb5379c8ffe (patch)
tree8d2647261acfca901dcfb5a8976d74c94340b61b /net-p2p/mldonkey
parentInitial import. Closes bug #8756. (diff)
downloadgentoo-2-85dfd8d44ef5310dbc421aa752ea6bb5379c8ffe.tar.gz
gentoo-2-85dfd8d44ef5310dbc421aa752ea6bb5379c8ffe.tar.bz2
gentoo-2-85dfd8d44ef5310dbc421aa752ea6bb5379c8ffe.zip
version bump
Diffstat (limited to 'net-p2p/mldonkey')
-rw-r--r--net-p2p/mldonkey/ChangeLog7
-rw-r--r--net-p2p/mldonkey/files/digest-mldonkey-2.011
-rw-r--r--net-p2p/mldonkey/mldonkey-2.01.ebuild79
3 files changed, 86 insertions, 1 deletions
diff --git a/net-p2p/mldonkey/ChangeLog b/net-p2p/mldonkey/ChangeLog
index 18def86af60a..7cee3b90e281 100644
--- a/net-p2p/mldonkey/ChangeLog
+++ b/net-p2p/mldonkey/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-p2p/mldonkey
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.2 2002/12/09 20:53:22 hannes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.3 2002/12/12 17:33:59 hannes Exp $
+
+*mldonkey-2.01 (12 Dec 2002)
+
+ 12 Dec 2002; Hannes Mehnert <hannes@mehnert.org> mldonkey-2.01.ebuild:
+ version bump
*mldonkey-2.00-r1 (09 Dec 2002)
diff --git a/net-p2p/mldonkey/files/digest-mldonkey-2.01 b/net-p2p/mldonkey/files/digest-mldonkey-2.01
new file mode 100644
index 000000000000..0d8bbeee63a3
--- /dev/null
+++ b/net-p2p/mldonkey/files/digest-mldonkey-2.01
@@ -0,0 +1 @@
+MD5 a7f9449a2ba93f0682f05b1ed47dd876 mldonkey-2.01.sources.tar.gz 1617764
diff --git a/net-p2p/mldonkey/mldonkey-2.01.ebuild b/net-p2p/mldonkey/mldonkey-2.01.ebuild
new file mode 100644
index 000000000000..d8f552166b6b
--- /dev/null
+++ b/net-p2p/mldonkey/mldonkey-2.01.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-2.01.ebuild,v 1.1 2002/12/12 17:33:59 hannes Exp $
+
+IUSE="gtk"
+DESCRIPTION="edonkey, opennap,... client written in ocaml"
+HOMEPAGE="http://www.nongnu.org/mldonkey/"
+SRC_URI="http://savannah.nongnu.org/download/${PN}/stable/${P}.sources.tar.gz"
+
+LICENSE="GPL-1"
+SLOT="0"
+KEYWORDS="~x86"
+DEPEND="gtk? ( >=lablgtk-1.2.3 )
+ >=ocaml-3.06
+ >=perl-5.6.1"
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+ use gtk || export GTK_CONFIG="no"
+
+ # the dirs are not (yet) used, but it doesn't hurt to specify them anyway
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --sysconfdir=/etc/mldonkey \
+ --sharedstatedir=/usr/var/mldonkey \
+ --localstatedir=/usr/var/mldonkey \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man || die "./configure failed"
+
+ emake || die
+}
+
+src_install() {
+ into /usr
+ dobin mldonkey mlchat
+ for i in mldonkey_gui mldonkey_gui2 mldonkey_guistarter
+ do
+ if [[ -f ${i} ]]
+ then
+ dobin ${i}
+ fi
+ done
+
+ for i in AUTHORS BUGS COPYING ChangeLog Developers.txt ed2k_links.txt \
+ Readme.txt TODO;
+ do
+ dodoc distrib/${i}
+ done
+
+ dohtml FAQ.html
+
+ insinto /usr/share/doc/${PF}/scripts
+ for i in kill_mldonkey mldonkey_command mldonkey_previewer;
+ do
+ doins distrib/${i}
+ done
+
+ insinto /usr/share/doc/${PF}/scripts/ed2k_submit
+ echo "Ignore CVS error:"
+ doins distrib/ed2k_submit/*
+
+ insinto /usr/share/doc/${PF}/distrib
+ for i in servers.ini directconnect.ini;
+ do
+ doins distrib/${i}
+ done
+}
+
+pkg_postinst() {
+ echo
+ echo
+ einfo "To start mldonkey, copy the contents of \$doc/distrib in a"
+ einfo "writable directory, and start mldonkey from there."
+ einfo "Eg: cp everything to /home/user1/mldonkey"
+ einfo "then: cd /home/user1/mldonkey && mldonkey >> mld.log &"
+ echo
+ echo
+}