Gentoo Archives: gentoo-dev

From: Per Wigren <wigren@××××.se>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Very strange problem...
Date: Fri, 31 May 2002 13:49:08
Message-Id: 200205312048.56137.wigren@home.se
1 I really don't understand this...
2 I have an ebuild for epsxe (playstation emulator)..
3 After "ebuild unpack" I check /var/tmp/portage/epsxe-1.5.2/work and it
4 contains the correct, working binary.
5 After "ebuild install", the epsxe binary is in
6 /var/tmp/portage/epsxe-1.5.2/image/opt/epsxe, but it is only 92 bytes and
7 contais ".ELF............".. The first 92 bytes of the original binary that
8 is.. It doesn't matter if I use insinto;doins, dobin, cp or mv in
9 src_install.. It still gets truncated to 92 bytes...
10
11 Here is the ebuild (dobin ${FILESDIR}-line commented so you can try it):
12
13
14 # Copyright 1999-2002 Gentoo Technologies, Inc.
15 # Distributed under the terms of the GNU General Public License v2
16 # Author Per Wigren <wigren@××××.se>
17 # /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.7 2002/05/18 17:25:12
18 agenkin Exp
19
20 DESCRIPTION="ePSXe Playstation Emulator"
21
22 HOMEPAGE="http://www.epsxe.com"
23
24 LICENSE="Freeware"
25
26 use opengl && GLDEPEND="app-emulation/psemu-gpupetemesagl"
27 use opengl || GLDEPEND="app-emulation/psemu-peopssoftgpu"
28
29 DEPEND="app-arch/unzip"
30 RDEPEND="=dev-libs/glib-1.2
31 =x11-libs/gtk+-1.2*
32 =sys-libs/ncurses-5*
33 =sys-libs/zlib-1*
34 app-emulation/psemu-peopsspu
35 ${GLDEPEND}"
36
37 SRC_URI="http://download.epsxe.com/files/epsxe152lin.zip"
38
39 S=${WORKDIR}
40
41 src_unpack() {
42 unzip ${DISTDIR}/${A}
43 }
44
45 src_install () {
46 #dobin ${FILESDIR}/epsxe
47 dodoc docs/*
48
49 insinto /opt/epsxe
50 doins epsxe
51
52 insinto /usr/lib/psemu/cheats
53 doins cheats/*
54 }

Replies

Subject Author
Re: [gentoo-dev] Very strange problem... Spider <spider@g.o>