|
Re: Very strange problem...: msg#00269linux.gentoo.devel
Hmm, try to unpack it by hand and run "strip" on it... that could be it :) //Spider begin quote On Fri, 31 May 2002 20:48:56 +0200 Per Wigren <wigren@xxxxxxx> wrote: > I really don't understand this... > I have an ebuild for epsxe (playstation emulator).. > After "ebuild unpack" I check /var/tmp/portage/epsxe-1.5.2/work and it > > contains the correct, working binary. > After "ebuild install", the epsxe binary is in > /var/tmp/portage/epsxe-1.5.2/image/opt/epsxe, but it is only 92 bytes > and contais ".ELF............".. The first 92 bytes of the original > binary that is.. It doesn't matter if I use insinto;doins, dobin, cp > or mv in src_install.. It still gets truncated to 92 bytes... > > Here is the ebuild (dobin ${FILESDIR}-line commented so you can try > it): > > > # Copyright 1999-2002 Gentoo Technologies, Inc. > # Distributed under the terms of the GNU General Public License v2 > # Author Per Wigren <wigren@xxxxxxx> > # /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.7 2002/05/18 > # 17:25:12 > agenkin Exp > > DESCRIPTION="ePSXe Playstation Emulator" > > HOMEPAGE="http://www.epsxe.com" > > LICENSE="Freeware" > > use opengl && GLDEPEND="app-emulation/psemu-gpupetemesagl" > use opengl || GLDEPEND="app-emulation/psemu-peopssoftgpu" > > DEPEND="app-arch/unzip" > RDEPEND="=dev-libs/glib-1.2 > =x11-libs/gtk+-1.2* > =sys-libs/ncurses-5* > =sys-libs/zlib-1* > app-emulation/psemu-peopsspu > ${GLDEPEND}" > > SRC_URI="http://download.epsxe.com/files/epsxe152lin.zip" > > S=${WORKDIR} > > src_unpack() { > unzip ${DISTDIR}/${A} > } > > src_install () { > #dobin ${FILESDIR}/epsxe > dodoc docs/* > > insinto /opt/epsxe > doins epsxe > > insinto /usr/lib/psemu/cheats > doins cheats/* > } > > _______________________________________________ > gentoo-dev mailing list > gentoo-dev@xxxxxxxxxx > http://lists.gentoo.org/mailman/listinfo/gentoo-dev -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Very strange problem...: 00269, Per Wigren |
|---|---|
| Next by Date: | Installer for Gentoo: 00269, Victor R. Prada |
| Previous by Thread: | Very strange problem...i: 00269, Per Wigren |
| Next by Thread: | Installer for Gentoo: 00269, Victor R. Prada |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |