diff options
-rw-r--r-- | net-p2p/mldonkey/files/digest-mldonkey-2.00 | 1 | ||||
-rw-r--r-- | net-p2p/mldonkey/mldonkey-2.00.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/net-p2p/mldonkey/files/digest-mldonkey-2.00 b/net-p2p/mldonkey/files/digest-mldonkey-2.00 new file mode 100644 index 000000000000..2dfc244966aa --- /dev/null +++ b/net-p2p/mldonkey/files/digest-mldonkey-2.00 @@ -0,0 +1 @@ +MD5 55d96a4eecbb8831efe460610f2f492c mldonkey-2.00.shared.i686-Linux.tar.bz2 2648645 diff --git a/net-p2p/mldonkey/mldonkey-2.00.ebuild b/net-p2p/mldonkey/mldonkey-2.00.ebuild new file mode 100644 index 000000000000..362660387bd2 --- /dev/null +++ b/net-p2p/mldonkey/mldonkey-2.00.ebuild @@ -0,0 +1,39 @@ +# 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.00.ebuild,v 1.1 2002/10/19 20:55:55 mjc Exp $ + +IUSE="gtk" + +myarch=`uname -m` +S="${WORKDIR}/${PN}-distrib-${PV}" +DESCRIPTION="A new client for eDonkey, for file sharing." +SRC_URI="http://savannah.nongnu.org/download/mldonkey/stable/${P}.shared.${myarch}-Linux.tar.bz2" +HOMEPAGE="http://go.to/mldonkey" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86" + +DEPEND="gtk? ( x11-libs/gtk+ )" + +src_compile() { + einfo "Nothing to compile for ${P}." +} +src_install () { + dodoc ChangeLog Readme.txt TODO + rm -f ${WORKDIR}/${PN}-distrib-${PV}/ChangeLog + rm -f ${WORKDIR}/${PN}-distrib-${PV}/Readme.txt + rm -f ${WORKDIR}/${PN}-distrib-${PV}/TODO + rm -f ${WORKDIR}/${PN}-distrib-${PV}/mldonkey_gui_started_for_macosx + dodir /opt/mldonkey + cp -r ${WORKDIR}/${PN}-distrib-${PV}/* ${D}/opt/mldonkey + insinto /etc/env.d + doins ${FILESDIR}/97mldonkey +} +pkg_postinst () { + einfo "The client command is mldonkey." + einfo "The GUI needs GTK and the command is mldonkey_gui" + einfo "mldonkey read the config from the dir where you are, and" + einfo "create it if don't exist, so run the command ever in the" + einfo "ever in the same dir. I spear to solve it in next relase" +} |