[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] Very strange problem...
From:       Spider <spider () gentoo ! org>
Date:       2002-05-31 20:56:21
[Download RAW message or body]

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@home.se> 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@home.se>
> # /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@gentoo.org
> 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

[Attachment #3 (application/pgp-signature)]
_______________________________________________
gentoo-dev mailing list
gentoo-dev@gentoo.org
http://lists.gentoo.org/mailman/listinfo/gentoo-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic