Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xmule ebuild
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
BeaTtheMeaT666
n00b
n00b


Joined: 12 Nov 2002
Posts: 54

PostPosted: Sun Jun 01, 2003 7:23 pm    Post subject: xmule ebuild Reply with quote

Hi,

after wondering, why there still is no ebuild for xmule (formerly lmule) in portage,
i just figured out, that using the lmule-ebuild works for xmule, too.

here's what i did:

1. mkdir /usr/portage/net-p2p/xmule
2. cp /usr/portage/net-p2p/lmule/lmule-1.2.0.1.ebuild \ /usr/portage/net-p2p/xmule/xmule-1.4.0.ebuild
3. ebuild /usr/portage/net-p2p/xmule/xmule-1.4.0.ebuild digest
4. emerge xmule

ok, the HOMEPAGE - line should also be edited, but I think, then the ebuild would be ready for portage !

Enjoy,

Bobo
Back to top
View user's profile Send private message
idl
Retired Dev
Retired Dev


Joined: 24 Dec 2002
Posts: 1728
Location: Nottingham, UK

PostPosted: Sun Jun 01, 2003 7:29 pm    Post subject: Reply with quote

Head over to the Bugzilla, sign up and state the fact that all is needed is a copy for the newer version.
_________________
a.k.a port001
Found a bug? Please report it: Gentoo Bugzilla
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Jun 01, 2003 7:33 pm    Post subject: Reply with quote

Moved from Documentation, Tips & Tricks.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
BeaTtheMeaT666
n00b
n00b


Joined: 12 Nov 2002
Posts: 54

PostPosted: Sun Jun 01, 2003 7:53 pm    Post subject: Reply with quote

sorry for posting in the wrong forum!

@ port001:
thanks, i tried it
Back to top
View user's profile Send private message
v
n00b
n00b


Joined: 26 Feb 2003
Posts: 23
Location: Porto, Portugal

PostPosted: Wed Jun 04, 2003 3:10 pm    Post subject: Reply with quote

Hi!
I made this xmule ebuild:
Code:

# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="The multiplatform fork of the eMule client"
HOMEPAGE="http://xmule.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
DEPEND=">=x11-libs/wxGTK-2.4
   >=sys-libs/zlib-1.1.4"
S=${WORKDIR}/${P}
IUSE=""

# no parallel builds
MAKEOPTS="${MAKEOPTS} -j1"

src_unpack() {
   unpack ${A}
}

src_compile() {
   econf "--with-wx-config=/usr/bin/wx-config"|| die
   emake || die
}

src_install() {
   einstall || die
}


The homemage changed and there is no longer need a patch in the older ebuild.

To emerge just save this ebuild as /usr/portage/net-p2p/xmule/xmule-1.4.0.ebuild

Code:

ebuild /usr/portage/net-p2p/xmule/xmule-1.4.0.ebuild digest

and finaly:
Code:
emerge xmule


nice leeching :lol:


Last edited by v on Wed Jun 04, 2003 3:26 pm; edited 2 times in total
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Wed Jun 04, 2003 3:19 pm    Post subject: Reply with quote

Quick suggestion:

Put it in /usr/local/portage instead and make sure this is in /etc/make.conf
PORTDIR_OVERLAY=/usr/local/portage

This way it won't get nuked when you do your next 'emerge sync'


Last edited by Pythonhead on Wed Jun 04, 2003 3:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
AlterEgo
Veteran
Veteran


Joined: 25 Apr 2002
Posts: 1619

PostPosted: Wed Jun 04, 2003 3:20 pm    Post subject: Reply with quote

Cool v,
now also in English, thanks :D
Back to top
View user's profile Send private message
relyt
Apprentice
Apprentice


Joined: 29 Aug 2002
Posts: 238
Location: Massachusetts

PostPosted: Fri Jun 06, 2003 5:41 pm    Post subject: Reply with quote

Here's something slightly cleaner
Code:
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit flag-o-matic eutils

DESCRIPTION="An easy to use multi-platform client for ED2K"
HOMEPAGE="http://www.xmule.org/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

IUSE="nls"
SLOT="0"
KEYWORDS="~x86"
LICENSE="GPL-2"

S=${WORKDIR}/${P}

DEPEND=">=x11-libs/wxGTK-2.4.0
        dev-libs/expat
        nls? ( sys-devel/gettext )"

replace-flags "-O3" "-O2"

EXTRA_ECONF=`use_enable nls`

src_install() {
        einstall || die
        dodoc AUTHORS ABOUT-NLS COPYING ChangeLog README INSTALL TODO docs/xmule/*
}
Back to top
View user's profile Send private message
arkhan_jg
Apprentice
Apprentice


Joined: 18 Mar 2003
Posts: 199
Location: Dorset, UK

PostPosted: Sat Jun 07, 2003 9:27 am    Post subject: Reply with quote

For the record, xmule isn't a new direction for lmule - it's a cross-platform fork of lmule, because of a developer split. That said, it appears the developer who caused the split is no longer working on lmule, and is focussing on a bittorrent client instead, so lmule.sourceforge.net is likely to die on the vine...

http://www.xmule.org/modules.php?op=modload&name=News&file=article&sid=25&mode=thread&order=0&thold=0
_________________
make menuconfig not war
Back to top
View user's profile Send private message
narksunamun
n00b
n00b


Joined: 11 Nov 2002
Posts: 3

PostPosted: Sun Jun 08, 2003 9:36 am    Post subject: xmule 1.5.0 ebuild Reply with quote

Hi Gentooist,

I've succesfully installed xMule 1.5.0 by replacing xmule-1.4.0 by xmule-1.5.0 in the solution of the custom ebuild for xmule-1.4.0.
_________________
I'm getting interest in JAVA, Linux & Gentoo
Master's Degree Student in Network, Multimedia and Internet at University Of Reunion Island
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum