1 |
Hmm, try to unpack it by hand and run "strip" on it... that could be it |
2 |
:) |
3 |
|
4 |
//Spider |
5 |
|
6 |
|
7 |
begin quote |
8 |
On Fri, 31 May 2002 20:48:56 +0200 |
9 |
Per Wigren <wigren@××××.se> wrote: |
10 |
|
11 |
> I really don't understand this... |
12 |
> I have an ebuild for epsxe (playstation emulator).. |
13 |
> After "ebuild unpack" I check /var/tmp/portage/epsxe-1.5.2/work and it |
14 |
> |
15 |
> contains the correct, working binary. |
16 |
> After "ebuild install", the epsxe binary is in |
17 |
> /var/tmp/portage/epsxe-1.5.2/image/opt/epsxe, but it is only 92 bytes |
18 |
> and contais ".ELF............".. The first 92 bytes of the original |
19 |
> binary that is.. It doesn't matter if I use insinto;doins, dobin, cp |
20 |
> or mv in src_install.. It still gets truncated to 92 bytes... |
21 |
> |
22 |
> Here is the ebuild (dobin ${FILESDIR}-line commented so you can try |
23 |
> it): |
24 |
> |
25 |
> |
26 |
> # Copyright 1999-2002 Gentoo Technologies, Inc. |
27 |
> # Distributed under the terms of the GNU General Public License v2 |
28 |
> # Author Per Wigren <wigren@××××.se> |
29 |
> # /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.7 2002/05/18 |
30 |
> # 17:25:12 |
31 |
> agenkin Exp |
32 |
> |
33 |
> DESCRIPTION="ePSXe Playstation Emulator" |
34 |
> |
35 |
> HOMEPAGE="http://www.epsxe.com" |
36 |
> |
37 |
> LICENSE="Freeware" |
38 |
> |
39 |
> use opengl && GLDEPEND="app-emulation/psemu-gpupetemesagl" |
40 |
> use opengl || GLDEPEND="app-emulation/psemu-peopssoftgpu" |
41 |
> |
42 |
> DEPEND="app-arch/unzip" |
43 |
> RDEPEND="=dev-libs/glib-1.2 |
44 |
> =x11-libs/gtk+-1.2* |
45 |
> =sys-libs/ncurses-5* |
46 |
> =sys-libs/zlib-1* |
47 |
> app-emulation/psemu-peopsspu |
48 |
> ${GLDEPEND}" |
49 |
> |
50 |
> SRC_URI="http://download.epsxe.com/files/epsxe152lin.zip" |
51 |
> |
52 |
> S=${WORKDIR} |
53 |
> |
54 |
> src_unpack() { |
55 |
> unzip ${DISTDIR}/${A} |
56 |
> } |
57 |
> |
58 |
> src_install () { |
59 |
> #dobin ${FILESDIR}/epsxe |
60 |
> dodoc docs/* |
61 |
> |
62 |
> insinto /opt/epsxe |
63 |
> doins epsxe |
64 |
> |
65 |
> insinto /usr/lib/psemu/cheats |
66 |
> doins cheats/* |
67 |
> } |
68 |
> |
69 |
> _______________________________________________ |
70 |
> gentoo-dev mailing list |
71 |
> gentoo-dev@g.o |
72 |
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
73 |
|
74 |
|
75 |
-- |
76 |
begin .signature |
77 |
This is a .signature virus! Please copy me into your .signature! |
78 |
See Microsoft KB Article Q265230 for more information. |
79 |
end |