Ahojte,
skusil som si napisat vlastny ebuild:
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ktorrent-1.2_rc1.ebuild,v 1.2
# 2005/11/23 20:17:17 corsair Exp $
inherit kde
MY_P=${P/_/}
MY_PV=${PV/_/}
DESCRIPTION="A BitTorrent program for KDE."
HOMEPAGE="http://ktorrent.pwsp.net/"
SRC_URI="http://ktorrent.pwsp.net/downloads/${MY_PV}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE=""
RESTRICT="nomirror $RESTRICT"
need-kde 3.3
Ale pri pokuse nainstalovat ktorrent z tohto ebuildu som dostal hlasku:
Calculating dependencies ...done!
>>> emerge (1 of 1) net-p2p/ktorrent-1.2_rc1 to /
>>> md5 files ;-) ktorrent-1.2_rc1.ebuild
>>> md5 files ;-) files/digest-ktorrent-1.2_rc1
>>> md5 src_uri ;-) ktorrent-1.2rc1.tar.gz
>>> Unpacking source...
>>> Unpacking ktorrent-1.2rc1.tar.gz to /var/tmp/portage/ktorrent-1.2_rc1/work
/usr/portage/eclass/base.eclass: line 37: cd: /var/tmp/portage/ktorrent-1.2_rc1/work/ktorrent-1.2_rc1: No such file or directory
/usr/portage/eclass/kde.eclass: line 55: cd: /var/tmp/portage/ktorrent-1.2_rc1/work/ktorrent-1.2_rc1: No such file or directory
>>> Source unpacked.
/usr/portage/eclass/kde.eclass: line 72: cd: /var/tmp/portage/ktorrent-1.2_rc1/work/ktorrent-1.2_rc1: No such file or directory
/usr/portage/eclass/kde.eclass: line 72: cd: /var/tmp/portage/ktorrent-1.2_rc1/work/ktorrent-1.2_rc1: No such file or directory
!!! ERROR: net-p2p/ktorrent-1.2_rc1 failed.
!!! Function kde_src_compile, Line 128, Exitcode 1
!!! no configure script found, generation unsuccessful
!!! If you need support, post the topmost build error, NOT this status message.
Vopred dakujem za kazde info, ako ho opravit.
Dlho som robil linuxos.sk, neskôr založil vpsFree.cz, posledných pár rokov ako tech. riaditeľ vo Websupporte
# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-p2p/ktorrent/ktorrent-1.2_rc1.ebuild,v 1.2 # 2005/11/23 20:17:17 corsair Exp $ inherit kde MY_P=${P/_/} MY_PV=${PV/_/} DESCRIPTION="A BitTorrent program for KDE." HOMEPAGE="http://ktorrent.pwsp.net/" SRC_URI="http://ktorrent.pwsp.net/downloads/${MY_PV}/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" IUSE="" RESTRICT="nomirror $RESTRICT" src_unpack() { unpack ${A/_/} } src_compile() { cd ${WORKDIR}/${MY_P} econf || die emake || die } src_install() { cd ${WORKDIR}/${MY_P} make DESTDIR=${D} install } need-kde 3.3
, medzi tym sa uz objavil aj oficialny ebuild pre ktorrent 1.2rc1.