Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48525 - ed2k-gtk-gui-0.6.2.ebuild (new package)
Summary: ed2k-gtk-gui-0.6.2.ebuild (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-04-20 18:05 UTC by ares
Modified: 2004-04-21 19:31 UTC (History)
1 user (show)

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


Attachments
ed2k-gtk-gui-0.6.2.ebuild (ed2k-gtk-gui-0.6.2.ebuild,579 bytes, text/plain)
2004-04-20 18:07 UTC, ares
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ares 2004-04-20 18:05:43 UTC
GTK+ Client for overnet
Comment 1 ares 2004-04-20 18:07:33 UTC
Created attachment 29730 [details]
ed2k-gtk-gui-0.6.2.ebuild

GTK+ Client for overnet
Program for P2P, this is version is not compatible with new gtk+ 2.4
Comment 2 Jon Hood (RETIRED) gentoo-dev 2004-04-21 13:56:33 UTC
committed; but a couple pointers:

P0 is being set to the same thing as ${P}, so it's kinda redundant.

The program builds and runs fine with gtk+>=2.4.

use einstall instead of make DESTDIR=${D} install; cosmetic and it does the same, but einstall is preferred.

When using SourceForge packages, use:
SRC_URI="mirror://sourceforge/...."
RESTRICT="nomirror"
Comment 3 ares 2004-04-21 16:32:10 UTC
Comment on attachment 29730 [details]
ed2k-gtk-gui-0.6.2.ebuild

># Copyright 1999-2003 Gentoo Technologies, Inc.
># Distributed under the terms of the GNU General Public License v2
># $Header: $
>
>P=${PN}-${PV}
>DESCRIPTION="GTK+ Client for overnet"
>HOMEPAGE="http://ed2k-gtk-gui.sourceforge.net/"
>SRC_URI="mirror://sourceforge/ed2k-gtk-gui/${P}.tar.gz"
>RESTRICT="nomirror"
>LICENSE="GPL"
>SLOT="0"
>KEYWORDS="~x86 -ppc -sparc64 -mips -arm"
>IUSE=""
>DEPEND=">=x11-libs/gtk+-2.0
>        >=net-libs/gnet-1.1
>        >=net-p2p/overnet-0.51*"
>S=${WORKDIR}/${P}
>
>src_compile() {
>	econf 
>	emake || die
>}
>
>src_install() {
>	make DESTDIR=${D} install || die
>}
Comment 4 ares 2004-04-21 16:36:37 UTC
Comment on attachment 29730 [details]
ed2k-gtk-gui-0.6.2.ebuild

># Copyright 1999-2003 Gentoo Technologies, Inc.
># Distributed under the terms of the GNU General Public License v2
># $Header: $
>
>P=${PN}-${PV}
>DESCRIPTION="GTK+ Client for overnet"
>HOMEPAGE="http://ed2k-gtk-gui.sourceforge.net/"
>SRC_URI="mirror://sourceforge/ed2k-gtk-gui/${P}.tar.gz"
>RESTRICT="nomirror"
>LICENSE="GPL"
>SLOT="0"
>KEYWORDS="~x86 -ppc -sparc64 -mips -arm"
>IUSE=""
>DEPEND=">=x11-libs/gtk+-2.0
>        >=net-libs/gnet-1.1
>        >=net-p2p/overnet-0.51*"
>S=${WORKDIR}/${P}
>
>src_compile() {
>	econf 
>	emake || die
>}
>
>src_install() {
>	make DESTDIR=${D} install || die
>}
Comment 5 ares 2004-04-21 16:38:51 UTC
Sorry for duplicate comments, problem connection with my server
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-21 19:31:48 UTC
Actually, 'make DESTDIR=${D} install' is prefered if it works.  einstall is a hack for when the DESTDIR way does not work:

from ebuild(5):

       einstall [make options]
              This is used as a replacement for make install.  Performs:
              make prefix=${D}/usr \
                          mandir=${D}/usr/share/man \
                          infodir=${D}/usr/share/info \
                          datadir=${D}/usr/share \
                          sysconfdir=${D}/etc \
                          localstatedir=${D}/var/lib \
                          make options install

              Please  do not use this in place of 'make install DESTDIR=${D}'.
              That is the preferred way of installing make-based packages.