Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 789 - file share tool
Summary: file share tool
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-02-20 19:54 UTC by Jeffry
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffry 2002-02-20 19:54:27 UTC
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

}
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-02-20 20:59:04 UTC
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 :)
Comment 2 Jeffry 2002-02-28 11:50:22 UTC
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

}
Comment 3 Daniel Robbins (RETIRED) gentoo-dev 2002-03-06 15:23:41 UTC
Ah, just change "try emake || die" to "emake || die", etc.  "|| die" replaces "try".
Comment 4 Jeffry 2002-03-15 01:20:34 UTC
# 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

}

Comment 5 Matthew Kennedy (RETIRED) gentoo-dev 2002-04-18 11:46:23 UTC
Added to portage as net-misc/dctc. Thanks for the contribution!