1 |
Per Wigren <wigren@××××.se> writes: |
2 |
|
3 |
> I say that you go always go for --enable-{dga,vidmode} since it is |
4 |
> runtime-selectable anyway.. |
5 |
|
6 |
hm. okay. |
7 |
|
8 |
> > myopt="--with-x $myopt --with-sdl --with-sdl-sound |
9 |
> > --with-sdl-gfx"; else |
10 |
> |
11 |
> Dont forget: |
12 |
> use gtk && myopt="$myopt --enable-ui" |
13 |
> use gtk || myopt="$myopt --disable-ui" |
14 |
|
15 |
ok, added. |
16 |
|
17 |
> > ./configure \ |
18 |
> > --host=${CHOST} \ |
19 |
> > --prefix=/usr \ |
20 |
> |
21 |
> please add |
22 |
> --enable-threads --enable-scsi-device --enable-file-sound |
23 |
> These are nice features that doesn't add dependancies... |
24 |
|
25 |
done! thanks! |
26 |
|
27 |
> > src_install () { |
28 |
> > dobin uae readdisk |
29 |
> > dodoc docs/* |
30 |
> > dodoc docs/unix/* |
31 |
> # The last line will overwrite docs/README.. It will be included anyway since |
32 |
> dodoc is recursive if I don't remeber wrong... ? |
33 |
|
34 |
it didn't seem to be recursive around here. :/ |
35 |
|
36 |
I'll leave docs/unix out for now. |
37 |
|
38 |
> also add: |
39 |
> into /usr/share/uae/amiga-tools |
40 |
> doins amiga/{*hack,trans*,uae*} |
41 |
> # These are tools for AmigaOS that are *very* useful in UAE! |
42 |
|
43 |
check! |
44 |
|
45 |
> Anyway, I'm looking forward to this one! Thanks! |
46 |
|
47 |
you're welcome. how does this look to you? |
48 |
|
49 |
# Copyright 1999-2002 Gentoo Technologies, Inc. |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.8 2002/05/30 01:54:49 sandymac Exp |
52 |
|
53 |
DESCRIPTION="An amiga emulator" |
54 |
|
55 |
HOMEPAGE="http://www.freiburg.linux.de/~uae/" |
56 |
LICENSE="GPL" |
57 |
|
58 |
if [ `use X` ]; |
59 |
then |
60 |
DEPEND="virtual/x11 |
61 |
gtk? x11-libs/gtk+"; |
62 |
else |
63 |
if [ `use svgalib` ]; |
64 |
then |
65 |
DEPEND="sys-libs/ncurses |
66 |
media-libs/svgalib" |
67 |
|
68 |
else |
69 |
DEPEND="sys-libs/ncurses"; |
70 |
fi |
71 |
fi |
72 |
|
73 |
SRC_URI="ftp://ftp.freiburg.linux.de/pub/uae/sources/develop/${P}.tar.gz" |
74 |
|
75 |
S=${WORKDIR}/${P} |
76 |
|
77 |
src_compile() { |
78 |
|
79 |
myopt=""; |
80 |
|
81 |
if [ `use X` ]; |
82 |
then |
83 |
myopt="--with-x --enable-dga --enable-vidmode\ |
84 |
--with-sdl --with-sdl-sound --with-sdl-gfx"; |
85 |
|
86 |
use gtk && myopt="$myopt --enable-ui"; |
87 |
use gtk || myopt="$myopt --disable-ui"; |
88 |
else |
89 |
if [ `use svgalib` ]; |
90 |
then |
91 |
myopt="--with-svgalib"; |
92 |
else |
93 |
myopt="--with-asciiart"; |
94 |
fi |
95 |
fi |
96 |
|
97 |
./configure \ |
98 |
--host=${CHOST} \ |
99 |
--prefix=/usr \ |
100 |
--enable-threads \ |
101 |
--enable-scsi-device \ |
102 |
--enable-file-sound \ |
103 |
$myopt || die "./configure failed" |
104 |
|
105 |
emake || die |
106 |
} |
107 |
|
108 |
src_install () { |
109 |
dobin uae readdisk |
110 |
dodoc docs/* |
111 |
|
112 |
insinto /usr/share/uae/amiga-tools |
113 |
doins amiga/{*hack,trans*,uae*} |
114 |
|
115 |
} |
116 |
|
117 |
-- |
118 |
Terje |