aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule cvs under gentoo  (Read 3260 times)

Kanniball

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 107
aMule cvs under gentoo
« on: June 13, 2004, 10:38:04 PM »

Well since I'm a gentoo user and a aMule tester, I have some stuff that you can use:

check this wxGTK-2.5.1 (with gkt2 support enabled) ebuild:

Code: [Select]
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.4.2.ebuild,v 1.11 2004/04/26 14:43:52 agriffis Exp $

inherit eutils flag-o-matic

DESCRIPTION="GTK+ version of wxWindows, a cross-platform C++ GUI toolkit."
SRC_URI="mirror://sourceforge/wxwindows/${P}.tar.bz2"
HOMEPAGE="http://www.wxwindows.org/"
RESTRICT="nomirror"

LICENSE="wxWinLL-3"
SLOT="0"
KEYWORDS="x86 ppc ~sparc alpha amd64 ia64"
IUSE="-unicode gtk2"

RDEPEND="virtual/x11
sys-libs/zlib
media-libs/libpng
media-libs/jpeg
media-libs/tiff
dev-libs/crypto++"

src_compile() {
local myconf
myconf="${myconf} --with-gtk"
myconf="${myconf} --disable-unicode"
myconf="${myconf} --enable-gtk2"
export LANG='C'
strip-flags
unset CFLAGS CXXFLAGS
econf ${myconf}|| die "econf failed"
emake || die "make failed"
}

src_install(){

einstall || die "install failed"
dodoc *.txt
dosym /usr/bin/wxgtk-2.5-config /usr/bin/wxgtk-config

}

you should copy this has $PORTAGE_OVERLAY/x11-libs/wxGTK/wxGTK-2.5.1.ebuild
check your /etc/make.conf for the Portage Overlay config.
then:
cd $PORTAGE_OVERLAY/x11-libs/wxGTK
ebuild wxGTK-2.5.1.ebuild digest

(if this fails to download at first time try again, cos there are some Sourceforge mirrors that don't have this file)

after this, download a cvs version of amule and in amule dir make:
Code: [Select]
WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_8="1" ./autogen.sh
export CFLAGS=""
export CXXFLAGS=""
./configure --enable-debug --disable-optimize --enable-amulecmd --enable-amulecmdgui --enable-webserver --enable-webservergui
make

Attention: this ebuild is not the best, and is targeted for amule testers, so there are some changes that I should do, but I don't have much time, and this is open, so if anyone has improvements just post it and give a litle comment about it, and I will change this...
Altougth this ebuild is working fine for me... and remember that in that latest cvs versions you don't need wxBase anymore.
Logged

chimera

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
    • http://blender3d.ch
on my way
« Reply #1 on: June 13, 2004, 11:12:36 PM »

wxGTK worked fine. now I try to compile amule.

maybe I'll tell you tomorrow... I really gotta get some rest now :O... thx again and cu!

##edit
it worked :D maaannyy thx!
« Last Edit: June 13, 2004, 11:33:14 PM by chimera »
Logged
...you can't even imagine the real meaning of "nothing", "everything", "ever" and "never"...
/me 2004