Code: Select all
# ebuild amule-2.0.0_rc8.ebuild digest
: command not foundnet-p2p/amule/amule-2.0.0_rc8.ebuild: line 4:
.eclass: No such file or directoryne 1458: /usr/portage/eclass/wxwidgets
!!! ERROR: net-p2p/amule-2.0.0_rc8 failed.
!!! Function inherit, Line 1459, Exitcode 1
.eclass in inherit()sr/portage/eclass/wxwidgets
!!! If you need support, post the topmost build error, NOT this status message.
aux_get(): (0) Error in net-p2p/amule-2.0.0_rc8 ebuild. (1)
Check for syntax error or corruption in the ebuild. (--debug)
: command not foundnet-p2p/amule/amule-2.0.0_rc8.ebuild: line 4:
.eclass: No such file or directoryne 1458: /usr/portage/eclass/wxwidgets
!!! ERROR: net-p2p/amule-2.0.0_rc8 failed.
!!! Function inherit, Line 1459, Exitcode 1
.eclass in inherit()sr/portage/eclass/wxwidgets
!!! If you need support, post the topmost build error, NOT this status message.
aux_get(): (0) Error in net-p2p/amule-2.0.0_rc8 ebuild. (1)
Check for syntax error or corruption in the ebuild. (--debug)
doebuild(): aux_get() error reading net-p2p/amule-2.0.0_rc8; aborting.ecco l'ebuild:
Code: Select all
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/amule/amule-2.0.0_rc8.ebuild,v 1.1 2004/26/12 17:30:55 unzsnu Exp $
inherit eutils wxwidgets
MY_P=${P/m/M}
MY_P=${MY_P/_/}
S=${WORKDIR}/${MY_P}
DESCRIPTION="aMule, the all-platform eMule p2p client"
HOMEPAGE="http://www.amule.org/"
SRC_URI="http://download.berlios.de/${PN}/${MY_P}.tar.bz2
http://amuleadu.altervista.org/amule-adunanza-2.0.0rc8-1.diff.gz
http://unzsnu.altervista.org/amule-2.0.0rc8-icons.patch.bz2"
RESTRICT="nomirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug gtk2 nls remote stats unicode gd"
DEPEND="gtk2? ( >=x11-libs/wxGTK-2.5.3 )
!gtk2? ( >=x11-libs/wxGTK-2.4.2-r2 )
>=net-misc/curl-7.11.0
>=sys-libs/zlib-1.2.1
stats? ( >=media-libs/gd-2.0.26 )
gd? ( >=media-libs/gd-2.0.26 )
!net-p2p/xmule"
pkg_setup() {
if ! use gtk2 >& /dev/null ; then
need-wxwidgets gtk || die "gtk version of x11-libs/wxGTK not found"
elif use unicode >& /dev/null ; then
export WX_GTK_VER="2.5"
need-wxwidgets unicode || die "You need to emerge unicoded wxGTK with USE='gtk2 unicode'"
else
export WX_GTK_VER="2.5"
need-wxwidgets gtk2 || die "You need to emerge wxGTK with USE='gtk2'"
fi
}
src_unpack() { einfo "Estraggo i sorgenti e provo ad applicare la patch Adunanza"
unpack ${A}
cd ${S}
ewarn "Provo ad applicare le patches Adu e Icone"
epatch ${WORKDIR}/amule-adunanza-2.0.0rc8-1.diff || die "Patch ADU non applicata"
einfo "Patch Adunanza applicata"
ewarn "Sto per applicare la patch icone, se perde colpi non preoccupatevi"
ewarn "è stata studiata per la r7. Non inficia amule in alcun modo "
patch -p1 < ${WORKDIR}/amule-2.0.0rc8-icons.patch
einfo "Patch icone Gnome applicata"
}
src_compile() {
if use gtk2 >& /dev/null && use remote >& /dev/null ; then
EXTRA_ECONF="--enable-amule-daemon"
fi
econf \
--disable-optimise \
--with-wx-config=${WX_CONFIG} \
--with-wxbase-config=${WX_CONFIG} \
`use_enable nls` \
`use_enable remote amulecmd` \
`use_enable remote amulecmdgui` \
`use_enable remote webserver` \
`use_enable remote webservergui` \
`use_enable stats cas` \
`use_enable stats wxcas` \
`use_enable stats alc` \
`use_enable stats alcc` \
`use_enable debug` \
|| die
emake -j1 || die
}
src_install() {
make DESTDIR=${D} install || die
}





