diff options
author | Martin Holzer <mholzer@gentoo.org> | 2004-02-16 16:08:51 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2004-02-16 16:08:51 +0000 |
commit | a7078bd16c2b3be8764d9ee1305ae19affc86b52 (patch) | |
tree | d56124d55658f0182c3db973f2682a63e2bfc490 /net-p2p | |
parent | cleanup (Manifest recommit) (diff) | |
download | gentoo-2-a7078bd16c2b3be8764d9ee1305ae19affc86b52.tar.gz gentoo-2-a7078bd16c2b3be8764d9ee1305ae19affc86b52.tar.bz2 gentoo-2-a7078bd16c2b3be8764d9ee1305ae19affc86b52.zip |
cleanup
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/mldonkey/files/digest-mldonkey-2.02-r1 | 2 | ||||
-rw-r--r-- | net-p2p/mldonkey/files/digest-mldonkey-2.5.3-r1 | 1 | ||||
-rw-r--r-- | net-p2p/mldonkey/files/digest-mldonkey-2.5.3-r2 | 1 | ||||
-rw-r--r-- | net-p2p/mldonkey/mldonkey-2.02-r1.ebuild | 90 | ||||
-rw-r--r-- | net-p2p/mldonkey/mldonkey-2.5.3-r1.ebuild | 98 | ||||
-rw-r--r-- | net-p2p/mldonkey/mldonkey-2.5.3-r2.ebuild | 98 |
6 files changed, 0 insertions, 290 deletions
diff --git a/net-p2p/mldonkey/files/digest-mldonkey-2.02-r1 b/net-p2p/mldonkey/files/digest-mldonkey-2.02-r1 deleted file mode 100644 index b5a7bfff2b71..000000000000 --- a/net-p2p/mldonkey/files/digest-mldonkey-2.02-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 9db7855e811d1bf2ffab23ebd565efc1 mldonkey-2.02-0.sources.tar.gz 1661208 -MD5 cf84f3d827083ede5b43d1e2b5524ada pango-20030101b.tar.gz 20403 diff --git a/net-p2p/mldonkey/files/digest-mldonkey-2.5.3-r1 b/net-p2p/mldonkey/files/digest-mldonkey-2.5.3-r1 deleted file mode 100644 index a3f450f18754..000000000000 --- a/net-p2p/mldonkey/files/digest-mldonkey-2.5.3-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 d11504a6dd1e8b5f955951d1f73236ed mldonkey-2.5-3.sources.tar.gz 2373194 diff --git a/net-p2p/mldonkey/files/digest-mldonkey-2.5.3-r2 b/net-p2p/mldonkey/files/digest-mldonkey-2.5.3-r2 deleted file mode 100644 index a3f450f18754..000000000000 --- a/net-p2p/mldonkey/files/digest-mldonkey-2.5.3-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 d11504a6dd1e8b5f955951d1f73236ed mldonkey-2.5-3.sources.tar.gz 2373194 diff --git a/net-p2p/mldonkey/mldonkey-2.02-r1.ebuild b/net-p2p/mldonkey/mldonkey-2.02-r1.ebuild deleted file mode 100644 index e92c9771501b..000000000000 --- a/net-p2p/mldonkey/mldonkey-2.02-r1.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-2.02-r1.ebuild,v 1.5 2003/07/13 20:28:39 aliz Exp $ - -IUSE="gtk mldonkeypango" - -S=${WORKDIR}/${PN} -# Revision number of the sources -N="0" -PANGO_VERSION="20030101b" - -DESCRIPTION="edonkey, opennap,... client written in ocaml" -HOMEPAGE="http://www.nongnu.org/mldonkey/" -SRC_URI="http://savannah.nongnu.org/download/${PN}/stable/${P}-${N}.sources.tar.gz - mldonkeypango? ( ftp://ftp.berlios.de/pub/${PN}/pango/patches-against-CVS${PV}/pango-${PANGO_VERSION}.tar.gz )" - -LICENSE="GPL-1" -SLOT="0" -KEYWORDS="x86 ~ppc" - -DEPEND="gtk? ( >=lablgtk-1.2.3 ) - >=dev-lang/ocaml-3.06 - dev-lang/perl" - -src_unpack() { - unpack ${P}-${N}.sources.tar.gz - if [ -n "`use mldonkeypango`" ]; then - cd ${S} - tar -xzf ${DISTDIR}/pango-${PANGO_VERSION}.tar.gz - patch -p0 -E < pango.patch - fi -} - -src_compile() { - use gtk || export GTK_CONFIG="no" - - # the dirs are not (yet) used, but it doesn't hurt to specify them anyway - econf \ - --sysconfdir=/etc/mldonkey \ - --sharedstatedir=/var/mldonkey \ - --localstatedir=/var/mldonkey - - 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() { - 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 - einfo "If you want to use pango-patches, do:" - einfo "USE=mldonkeypango emerge mldonkey" -} diff --git a/net-p2p/mldonkey/mldonkey-2.5.3-r1.ebuild b/net-p2p/mldonkey/mldonkey-2.5.3-r1.ebuild deleted file mode 100644 index 52cf0decdd00..000000000000 --- a/net-p2p/mldonkey/mldonkey-2.5.3-r1.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-2.5.3-r1.ebuild,v 1.8 2004/01/22 21:18:25 mattam Exp $ - -IUSE="gtk" - -MY_PV=${PV%.*}-${PV#*.*.} -MY_P=${PN}-${MY_PV} -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="mldonkey is a new client to access the eDonkey network. It is written in Objective-Caml, and comes with its own GTK GUI, an HTTP interface and a telnet interface." -HOMEPAGE="http://www.nongnu.org/mldonkey/" -SRC_URI="http://savannah.nongnu.org/download/${PN}/release-${MY_PV}/official/${MY_P}.sources.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ~ppc" - - -DEPEND="gtk? ( =lablgtk-1.2.5 ) - =dev-lang/ocaml-3.06* - dev-lang/perl" -RDEPEND="net-misc/wget" - -MLUSER="p2p" - -pkg_setup() { - # add user - if [ ! `getent passwd ${MLUSER} | cut -d: -f1` ] - then - useradd -s /bin/bash ${MLUSER} &>/dev/null - einfo Creating user ${MLUSER}... - fi - if [ ! -d `getent passwd ${MLUSER} | cut -d: -f6` ] - then - einfo Creating directory... - mkdir `getent passwd ${MLUSER} | cut -d: -f6` - chown ${MLUSER} `getent passwd ${MLUSER} | cut -d: -f6` - else - einfo User already configured. - fi - return 0 -} - -src_compile() { - use gtk || export GTK_CONFIG="no" - - # the dirs are not (yet) used, but it doesn't hurt to specify them anyway - econf \ - --sysconfdir=/etc/mldonkey \ - --sharedstatedir=/var/mldonkey \ - --localstatedir=/var/mldonkey \ - --enable-ocamlver=3.06 - - emake || die -} - -src_install() { - dobin mlnet - use gtk && dobin mlchat mlgui mlguistarter mlim mlnet+gui - dobin ${FILESDIR}/mldonkey - - cd ${S}/distrib - dodoc AUTHORS BUGS COPYING ChangeLog ed2k_links.txt INSTALL TODO - dohtml FAQ.html - - insinto /usr/share/doc/${PF}/scripts - doins kill_mldonkey mldonkey_command mldonkey_previewer - - insinto /usr/share/doc/${PF}/distrib - doins directconnect.ini servers.ini - - cd ${S}/docs - dodoc *.txt *.tex - dohtml *.html - - cd ${S}/docs/developers - dodoc *.txt *.tex - - cd ${S}/docs/images - insinto /usr/share/doc/${PF}/html/images - doins * - - insinto /etc/conf.d; newins ${FILESDIR}/mldonkey.confd mldonkey - exeinto /etc/init.d; newexe ${FILESDIR}/mldonkey.initd mldonkey -} - -pkg_postinst() { - echo - einfo "Running \`mldonkey' will start the server inside ~/.mldonkey/" - einfo "If you want to start mldonkey in a particular working directory," - einfo "use the \`mlnet' command." - einfo "If you want to start mldonkey as a system service, use" - einfo "the /etc/init.d/mldonkey script. To control bandwidth, use" - einfo "the 'slow' and 'fast' arguments. Be sure to have a look at" - einfo "/etc/conf.d/mldonkey also." - echo -} diff --git a/net-p2p/mldonkey/mldonkey-2.5.3-r2.ebuild b/net-p2p/mldonkey/mldonkey-2.5.3-r2.ebuild deleted file mode 100644 index 829ad373f7f0..000000000000 --- a/net-p2p/mldonkey/mldonkey-2.5.3-r2.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-2.5.3-r2.ebuild,v 1.6 2004/01/22 21:18:25 mattam Exp $ - -IUSE="gtk" - -MY_PV=${PV%.*}-${PV#*.*.} -MY_P=${PN}-${MY_PV} -S="${WORKDIR}/${MY_P}" - -DESCRIPTION="mldonkey is a new client to access the eDonkey network. It is written in Objective-Caml, and comes with its own GTK GUI, an HTTP interface and a telnet interface." -HOMEPAGE="http://www.nongnu.org/mldonkey/" -SRC_URI="http://savannah.nongnu.org/download/${PN}/release-${MY_PV}/official/${MY_P}.sources.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="x86 ~ppc" - - -DEPEND="gtk? ( =lablgtk-1.2.5 ) - =dev-lang/ocaml-3.06* - dev-lang/perl" -RDEPEND="net-misc/wget" - -MLUSER="p2p" - -pkg_setup() { - # add user - if [ ! `getent passwd ${MLUSER} | cut -d: -f1` ] - then - useradd -s /bin/bash ${MLUSER} &>/dev/null - einfo Creating user ${MLUSER}... - fi - if [ ! -d `getent passwd ${MLUSER} | cut -d: -f6` ] - then - einfo Creating directory... - mkdir `getent passwd ${MLUSER} | cut -d: -f6` - chown ${MLUSER} `getent passwd ${MLUSER} | cut -d: -f6` - else - einfo User already configured. - fi - return 0 -} - -src_compile() { - use gtk || export GTK_CONFIG="no" - - # the dirs are not (yet) used, but it doesn't hurt to specify them anyway - econf \ - --sysconfdir=/etc/mldonkey \ - --sharedstatedir=/var/mldonkey \ - --localstatedir=/var/mldonkey \ - --enable-ocamlver=3.06 - - emake || die -} - -src_install() { - dobin mlnet - use gtk && dobin mlchat mlgui mlguistarter mlim mlnet+gui - dobin ${FILESDIR}/mldonkey - - cd ${S}/distrib - dodoc AUTHORS BUGS COPYING ChangeLog ed2k_links.txt INSTALL TODO - dohtml FAQ.html - - insinto /usr/share/doc/${PF}/scripts - doins kill_mldonkey mldonkey_command mldonkey_previewer - - insinto /usr/share/doc/${PF}/distrib - doins directconnect.ini servers.ini - - cd ${S}/docs - dodoc *.txt *.tex - dohtml *.html - - cd ${S}/docs/developers - dodoc *.txt *.tex - - cd ${S}/docs/images - insinto /usr/share/doc/${PF}/html/images - doins * - - insinto /etc/conf.d; newins ${FILESDIR}/mldonkey.confd mldonkey - exeinto /etc/init.d; newexe ${FILESDIR}/mldonkey.initd mldonkey -} - -pkg_postinst() { - echo - einfo "Running \`mldonkey' will start the server inside ~/.mldonkey/" - einfo "If you want to start mldonkey in a particular working directory," - einfo "use the \`mlnet' command." - einfo "If you want to start mldonkey as a system service, use" - einfo "the /etc/init.d/mldonkey script. To control bandwidth, use" - einfo "the 'slow' and 'fast' arguments. Be sure to have a look at" - einfo "/etc/conf.d/mldonkey also." - echo -} |