GTK+ Client for overnet
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
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 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 >}
Sorry for duplicate comments, problem connection with my server
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.