public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-p2p/mldonkey: ChangeLog mldonkey-3.0.5.ebuild
@ 2010-11-24  3:02 Jeroen Roovers (jer)
  0 siblings, 0 replies; 5+ messages in thread
From: Jeroen Roovers (jer) @ 2010-11-24  3:02 UTC (permalink / raw
  To: gentoo-commits

jer         10/11/24 03:02:11

  Modified:             ChangeLog mldonkey-3.0.5.ebuild
  Log:
  Stable for PPC (bug #346189).
  
  (Portage version: 2.1.9.24/cvs/Linux i686)

Revision  Changes    Path
1.236                net-p2p/mldonkey/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/ChangeLog?rev=1.236&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/ChangeLog?rev=1.236&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/ChangeLog?r1=1.235&r2=1.236

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v
retrieving revision 1.235
retrieving revision 1.236
diff -u -r1.235 -r1.236
--- ChangeLog	23 Nov 2010 20:58:55 -0000	1.235
+++ ChangeLog	24 Nov 2010 03:02:11 -0000	1.236
@@ -1,6 +1,9 @@
 # ChangeLog for net-p2p/mldonkey
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.235 2010/11/23 20:58:55 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.236 2010/11/24 03:02:11 jer Exp $
+
+  24 Nov 2010; Jeroen Roovers <jer@gentoo.org> mldonkey-3.0.5.ebuild:
+  Stable for PPC (bug #346189).
 
   23 Nov 2010; Jeroen Roovers <jer@gentoo.org> mldonkey-3.0.5.ebuild:
   Stable for HPPA (bug #346189).



1.4                  net-p2p/mldonkey/mldonkey-3.0.5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild?r1=1.3&r2=1.4

Index: mldonkey-3.0.5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- mldonkey-3.0.5.ebuild	23 Nov 2010 20:58:55 -0000	1.3
+++ mldonkey-3.0.5.ebuild	24 Nov 2010 03:02:11 -0000	1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild,v 1.3 2010/11/23 20:58:55 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild,v 1.4 2010/11/24 03:02:11 jer Exp $
 
 EAPI="2"
 WANT_AUTOCONF=2.5
@@ -15,7 +15,7 @@
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 hppa ~ia64 ppc ~sparc ~x86 ~x86-fbsd"
 
 RDEPEND="dev-lang/perl
 	guionly? ( >=gnome-base/librsvg-2.4.0






^ permalink raw reply	[flat|nested] 5+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-p2p/mldonkey: ChangeLog mldonkey-3.0.5.ebuild
@ 2011-01-05 16:13 Markos Chandras (hwoarang)
  0 siblings, 0 replies; 5+ messages in thread
From: Markos Chandras (hwoarang) @ 2011-01-05 16:13 UTC (permalink / raw
  To: gentoo-commits

hwoarang    11/01/05 16:13:55

  Modified:             ChangeLog mldonkey-3.0.5.ebuild
  Log:
  Stable on amd64 wrt bug #346189
  
  (Portage version: 2.1.9.29/cvs/Linux x86_64)

Revision  Changes    Path
1.238                net-p2p/mldonkey/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/ChangeLog?rev=1.238&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/ChangeLog?rev=1.238&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/ChangeLog?r1=1.237&r2=1.238

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v
retrieving revision 1.237
retrieving revision 1.238
diff -u -r1.237 -r1.238
--- ChangeLog	20 Dec 2010 09:20:24 -0000	1.237
+++ ChangeLog	5 Jan 2011 16:13:55 -0000	1.238
@@ -1,6 +1,9 @@
 # ChangeLog for net-p2p/mldonkey
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.237 2010/12/20 09:20:24 tomka Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.238 2011/01/05 16:13:55 hwoarang Exp $
+
+  05 Jan 2011; Markos Chandras <hwoarang@gentoo.org> mldonkey-3.0.5.ebuild:
+  Stable on amd64 wrt bug #346189
 
   20 Dec 2010; Thomas Kahle <tomka@gentoo.org> mldonkey-3.0.5.ebuild:
   x86 stable per bug 346189



1.6                  net-p2p/mldonkey/mldonkey-3.0.5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild?r1=1.5&r2=1.6

Index: mldonkey-3.0.5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- mldonkey-3.0.5.ebuild	20 Dec 2010 09:20:24 -0000	1.5
+++ mldonkey-3.0.5.ebuild	5 Jan 2011 16:13:55 -0000	1.6
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild,v 1.5 2010/12/20 09:20:24 tomka Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild,v 1.6 2011/01/05 16:13:55 hwoarang Exp $
 
 EAPI="2"
 WANT_AUTOCONF=2.5
@@ -15,7 +15,7 @@
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 hppa ~ia64 ppc ~sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 hppa ~ia64 ppc ~sparc x86 ~x86-fbsd"
 
 RDEPEND="dev-lang/perl
 	guionly? ( >=gnome-base/librsvg-2.4.0






^ permalink raw reply	[flat|nested] 5+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-p2p/mldonkey: ChangeLog mldonkey-3.0.5.ebuild
@ 2010-12-20  9:20 Thomas Kahle (tomka)
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Kahle (tomka) @ 2010-12-20  9:20 UTC (permalink / raw
  To: gentoo-commits

tomka       10/12/20 09:20:24

  Modified:             ChangeLog mldonkey-3.0.5.ebuild
  Log:
  x86 stable per bug 346189
  
  (Portage version: 2.1.9.25/cvs/Linux i686)

Revision  Changes    Path
1.237                net-p2p/mldonkey/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/ChangeLog?rev=1.237&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/ChangeLog?rev=1.237&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/ChangeLog?r1=1.236&r2=1.237

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v
retrieving revision 1.236
retrieving revision 1.237
diff -u -r1.236 -r1.237
--- ChangeLog	24 Nov 2010 03:02:11 -0000	1.236
+++ ChangeLog	20 Dec 2010 09:20:24 -0000	1.237
@@ -1,6 +1,9 @@
 # ChangeLog for net-p2p/mldonkey
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.236 2010/11/24 03:02:11 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.237 2010/12/20 09:20:24 tomka Exp $
+
+  20 Dec 2010; Thomas Kahle <tomka@gentoo.org> mldonkey-3.0.5.ebuild:
+  x86 stable per bug 346189
 
   24 Nov 2010; Jeroen Roovers <jer@gentoo.org> mldonkey-3.0.5.ebuild:
   Stable for PPC (bug #346189).



1.5                  net-p2p/mldonkey/mldonkey-3.0.5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild?r1=1.4&r2=1.5

Index: mldonkey-3.0.5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- mldonkey-3.0.5.ebuild	24 Nov 2010 03:02:11 -0000	1.4
+++ mldonkey-3.0.5.ebuild	20 Dec 2010 09:20:24 -0000	1.5
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild,v 1.4 2010/11/24 03:02:11 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild,v 1.5 2010/12/20 09:20:24 tomka Exp $
 
 EAPI="2"
 WANT_AUTOCONF=2.5
@@ -15,7 +15,7 @@
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 hppa ~ia64 ppc ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 hppa ~ia64 ppc ~sparc x86 ~x86-fbsd"
 
 RDEPEND="dev-lang/perl
 	guionly? ( >=gnome-base/librsvg-2.4.0






^ permalink raw reply	[flat|nested] 5+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-p2p/mldonkey: ChangeLog mldonkey-3.0.5.ebuild
@ 2010-11-23 20:58 Jeroen Roovers (jer)
  0 siblings, 0 replies; 5+ messages in thread
From: Jeroen Roovers (jer) @ 2010-11-23 20:58 UTC (permalink / raw
  To: gentoo-commits

jer         10/11/23 20:58:55

  Modified:             ChangeLog mldonkey-3.0.5.ebuild
  Log:
  Stable for HPPA (bug #346189).
  
  (Portage version: 2.1.9.24/cvs/Linux i686)

Revision  Changes    Path
1.235                net-p2p/mldonkey/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/ChangeLog?rev=1.235&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/ChangeLog?rev=1.235&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/ChangeLog?r1=1.234&r2=1.235

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v
retrieving revision 1.234
retrieving revision 1.235
diff -u -r1.234 -r1.235
--- ChangeLog	21 Nov 2010 11:24:50 -0000	1.234
+++ ChangeLog	23 Nov 2010 20:58:55 -0000	1.235
@@ -1,6 +1,9 @@
 # ChangeLog for net-p2p/mldonkey
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.234 2010/11/21 11:24:50 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.235 2010/11/23 20:58:55 jer Exp $
+
+  23 Nov 2010; Jeroen Roovers <jer@gentoo.org> mldonkey-3.0.5.ebuild:
+  Stable for HPPA (bug #346189).
 
   21 Nov 2010; Raúl Porcel <armin76@gentoo.org> mldonkey-3.0.5.ebuild,
   mldonkey-3.0.6.ebuild:



1.3                  net-p2p/mldonkey/mldonkey-3.0.5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild?r1=1.2&r2=1.3

Index: mldonkey-3.0.5.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mldonkey-3.0.5.ebuild	21 Nov 2010 11:24:50 -0000	1.2
+++ mldonkey-3.0.5.ebuild	23 Nov 2010 20:58:55 -0000	1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild,v 1.2 2010/11/21 11:24:50 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild,v 1.3 2010/11/23 20:58:55 jer Exp $
 
 EAPI="2"
 WANT_AUTOCONF=2.5
@@ -15,7 +15,7 @@
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
 
 RDEPEND="dev-lang/perl
 	guionly? ( >=gnome-base/librsvg-2.4.0






^ permalink raw reply	[flat|nested] 5+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-p2p/mldonkey: ChangeLog mldonkey-3.0.5.ebuild
@ 2010-09-29 13:35 Raul Porcel (armin76)
  0 siblings, 0 replies; 5+ messages in thread
From: Raul Porcel (armin76) @ 2010-09-29 13:35 UTC (permalink / raw
  To: gentoo-commits

armin76     10/09/29 13:35:03

  Modified:             ChangeLog
  Added:                mldonkey-3.0.5.ebuild
  Log:
  Version bump wrt #298982
  (Portage version: 2.1.8.3/cvs/Linux ia64)

Revision  Changes    Path
1.232                net-p2p/mldonkey/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/ChangeLog?rev=1.232&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/ChangeLog?rev=1.232&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/ChangeLog?r1=1.231&r2=1.232

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v
retrieving revision 1.231
retrieving revision 1.232
diff -u -r1.231 -r1.232
--- ChangeLog	9 Nov 2009 18:34:32 -0000	1.231
+++ ChangeLog	29 Sep 2010 13:35:02 -0000	1.232
@@ -1,6 +1,11 @@
 # ChangeLog for net-p2p/mldonkey
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.231 2009/11/09 18:34:32 fauli Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/ChangeLog,v 1.232 2010/09/29 13:35:02 armin76 Exp $
+
+*mldonkey-3.0.5 (29 Sep 2010)
+
+  29 Sep 2010; Raúl Porcel <armin76@gentoo.org> +mldonkey-3.0.5.ebuild:
+  Version bump wrt #298982
 
   09 Nov 2009; Christian Faulhammer <fauli@gentoo.org>
   -mldonkey-2.9.6.ebuild:



1.1                  net-p2p/mldonkey/mldonkey-3.0.5.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild?rev=1.1&content-type=text/plain

Index: mldonkey-3.0.5.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/mldonkey/mldonkey-3.0.5.ebuild,v 1.1 2010/09/29 13:35:02 armin76 Exp $

EAPI="2"
WANT_AUTOCONF=2.5

inherit flag-o-matic eutils autotools toolchain-funcs

IUSE="doc fasttrack gd gnutella gtk guionly magic +ocamlopt"

DESCRIPTION="MLDonkey is a multi-network P2P application written in Ocaml, coming with its own Gtk GUI, web and telnet interface."
HOMEPAGE="http://mldonkey.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"

RDEPEND="dev-lang/perl
	guionly? ( >=gnome-base/librsvg-2.4.0
			>=dev-ml/lablgtk-2.6 )
	gtk? ( >=gnome-base/librsvg-2.4.0
			>=dev-ml/lablgtk-2.6[svg] )
	gd? ( >=media-libs/gd-2.0.28[truetype] )
	magic? ( sys-apps/file )"

DEPEND="${RDEPEND}
	>=dev-lang/ocaml-3.10.2[ocamlopt?]
	sys-apps/sed"

MLUSER="p2p"

pkg_setup() {
	if use gtk; then
		echo ""
		einfo "If the compile with gui fails, and you have updated Ocaml"
		einfo "recently, you may have forgotten that you need to run"
		einfo "/usr/portage/dev-lang/ocaml/files/ocaml-rebuild.sh"
		einfo "to learn which ebuilds you need to recompile"
		einfo "each time you update Ocaml to a different version"
		einfo "see the Ocaml ebuild for details"
		echo ""
	fi

	# dev-lang/ocaml creates its own objects but calls gcc for linking, which will
	# results in relocations if gcc wants to create a PIE executable
	if gcc-specs-pie ; then
		append-ldflags -nopie
		ewarn "Ocaml generates its own native asm, you're using a PIE compiler"
		ewarn "We have appended -nopie to ocaml build options"
		ewarn "because linking an executable with pie while the objects are not pic will not work"
	fi
}

src_prepare() {
	cd "${S}"/config
	eautoconf
	cd "${S}"
	use ocamlopt || sed -i -e "s/ocamlopt/idontwantocamlopt/g" "${S}/config/configure" || die "failed to disable ocamlopt"
}

src_configure() {
	# the dirs are not (yet) used, but it doesn't hurt to specify them anyway

	# onlygui	Disable all nets support, build only chosen GUI

	if use gtk || use guionly; then
		myconf="--enable-gui=newgui2"
	else
		myconf="--disable-gui"
	fi

	if use guionly; then
		myconf="${myconf} --disable-multinet --disable-donkey"
	fi

	cd "${S}"
	econf \
		--sysconfdir=/etc/mldonkey \
		--sharedstatedir=/var/mldonkey \
		--localstatedir=/var/mldonkey \
		--enable-checks \
		--disable-batch \
		$(use_enable fasttrack) \
		$(use_enable gnutella) \
		$(use_enable gnutella gnutella2) \
		$(use_enable gd) \
		$(use_enable magic) \
		${myconf} || die "econf failed"
}

src_compile() {
	export OCAMLRUNPARAM="l=256M"
	emake || die "emake failed"

	if ! use guionly; then
		emake utils || die "emake utils failed"
	fi;
}

src_install() {
	local myext=""
	use ocamlopt || myext=".byte"
	use ocamlopt || export STRIP_MASK="*/bin/*"
	if ! use guionly; then
		for i in mlnet mld_hash get_range copysources make_torrent subconv; do
			newbin $i$myext $i || die "failed to install $i"
		done

		newconfd "${FILESDIR}/mldonkey.confd-2.8" mldonkey
		fperms 600 /etc/conf.d/mldonkey
		newinitd "${FILESDIR}/mldonkey.initd" mldonkey
	fi

	if use gtk; then
		for i in mlgui mlguistarter; do
			newbin $i$myext $i || die "failed to install $i"
		done
		make_desktop_entry mlgui "MLDonkey GUI" mldonkey "Network;P2P"
		newicon "${S}"/packages/rpm/mldonkey-icon-48.png ${PN}.png
	fi

	if use doc ; then
		cd "${S}"/distrib
		dodoc ChangeLog *.txt
		dohtml *.html

		insinto /usr/share/doc/${PF}/scripts
		doins kill_mldonkey mldonkey_command mldonkey_previewer make_buginfo

		cd "${S}"/docs
		dodoc *.txt *.tex *.pdf
		dohtml *.html

		cd "${S}"/docs/developers
		dodoc *.txt *.tex

		cd "${S}"/docs/images
		insinto /usr/share/doc/${PF}/html/images
		doins *
	fi
}

pkg_preinst() {
	if ! use guionly; then
		enewuser ${MLUSER} -1 -1 /home/p2p users
	fi
}

pkg_postinst() {
	if ! use guionly; then
		echo
		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
	else
		echo
		einfo "Simply run mlgui to start the chosen MLDonkey gui."
		einfo "It puts its config files into ~/.mldonkey"
	fi
}






^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-01-05 16:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-24  3:02 [gentoo-commits] gentoo-x86 commit in net-p2p/mldonkey: ChangeLog mldonkey-3.0.5.ebuild Jeroen Roovers (jer)
  -- strict thread matches above, loose matches on Subject: below --
2011-01-05 16:13 Markos Chandras (hwoarang)
2010-12-20  9:20 Thomas Kahle (tomka)
2010-11-23 20:58 Jeroen Roovers (jer)
2010-09-29 13:35 Raul Porcel (armin76)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox