This is a file share tools works like hotline hq and stuff like that.. the gui ebuild is almost finished. # Copyrigth 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # author: Jeffry Molanus <Gila@home.nl> S=${WORKDIR}/${P} DESCRIPTION="Direct Connect, almost famous file share program :-)" SRC_URI="http://ac2i.tzo.com/dctc/${P}.tar.gz" HOMEPAGE="http://ac2i.tzo.com/dctc" src_unpack() { unpack ${A} cd ${WORKDIR} cd ${S} } src_compile() { try ./configure --prefix=/usr --infodir=/usr/doc --mandir=/usr/share --host=${CHOST} try make } src_install() { make prefix=${D}/usr/share \ BINDIR=${D}/usr/bin \ CONFDIR=${D}/usr/share/dctc \ DATADIR=${D}/usr/share/dctc \ mandir=${D}/usr/share/man \ install || die dodir /usr/share/doc/${PF} cp -a Documentation/* ${D}/usr/share/doc/${PF} dodoc TODO README KNOWN_BUGS NEWS }
try -> die; try make -> emake || die # Copyrigth -> Copyright Add $Header: $ line src_unpack() is unnecessary and please make sure that any config files are in /etc and not in /usr/share/dctc as it appears they may be. Fix these and resubmit. Don't get discouraged! Thanks :)
I treid to fix the things you told me to..:) i mean the once i understand.. although i cant find anny etc file i have inplented a sysconf=/etc var because it might be created on saving several options and because its in the makefile. (ps. when its in the Makefile.. does it mean its there :?) i get now sandbox errors so i believe its finshed.. the gui will be there shortley and then some other apps i use for scool. # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author: Jeffry Molanus <Gila@home.nl> # $Header: /home/cvsroot/gentoo-x86/skel.ebuild,v 1.3 2002/02/04 15:56:51 gbevin Exp $ S=${WORKDIR}/${P} DESCRIPTION="Direct Connect, almost famous file share program :-)" SRC_URI="http://ac2i.tzo.com/dctc/${P}.tar.gz" HOMEPAGE="http://ac2i.tzo.com/dctc" src_compile() { try ./configure --prefix=/usr --sysconfdir=/etc --infodir=/usr/doc --mandir=/usr/share --host=${CHOST} try emake || die } src_install() { make prefix=${D}/usr/share \ BINDIR=${D}/usr/bin \ CONFDIR=${D}/etc \ DATADIR=${D}/usr/share/dctc \ mandir=${D}/usr/share/man \ install || die dodir /usr/share/doc/${PF} cp -a Documentation/* ${D}/usr/share/doc/${PF} dodoc TODO README KNOWN_BUGS NEWS }
Ah, just change "try emake || die" to "emake || die", etc. "|| die" replaces "try".
# Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author: Jeffry Molanus <Gila@home.nl> # $Header: /home/cvsroot/gentoo-x86/skel.ebuild,v 1.3 2002/02/04 15:56:51 gbevin Exp $ S=${WORKDIR}/${P} DESCRIPTION="Direct Connect, almost famous file share program :-)" SRC_URI="http://ac2i.tzo.com/dctc/${P}.tar.gz" HOMEPAGE="http://ac2i.tzo.com/dctc" src_compile() { try ./configure --prefix=/usr --sysconfdir=/etc --infodir=/usr/doc --mandir=/usr/share --host=${CHOST} emake || die } src_install() { make prefix=${D}/usr/share \ BINDIR=${D}/usr/bin \ CONFDIR=${D}/etc \ DATADIR=${D}/usr/share/dctc \ mandir=${D}/usr/share/man \ install || die dodir /usr/share/doc/${PF} cp -a Documentation/* ${D}/usr/share/doc/${PF} dodoc TODO README KNOWN_BUGS NEWS }
Added to portage as net-misc/dctc. Thanks for the contribution!