1 |
Jules, |
2 |
I think you need to add something like(see below) Read the man page for that |
3 |
one, or grep usr/portage/ |
4 |
|
5 |
Andrew |
6 |
|
7 |
On 8/18/06, Jules Colding <colding@×××××.com> wrote: |
8 |
> |
9 |
> Hi, |
10 |
> |
11 |
> I am trying to create an ebuild file for evolution-brutus. It is |
12 |
> presently looking like this (with comments removed): |
13 |
> |
14 |
> ################### e-b ebuild start ######################## |
15 |
> inherit eutils flag-o-matic |
16 |
> |
17 |
> DESCRIPTION="Brutus Exchange connector for Evolution 2.4 and 2.6" |
18 |
> HOMEPAGE="http://www.omesc.com/" |
19 |
> SRC_URI=" |
20 |
> http://www.omesc.com/content/downloads/dist/SOURCES/evolution-brutus-1.1.6.tar.gz |
21 |
> " |
22 |
> |
23 |
> LICENSE="GPL-2" |
24 |
> SLOT="0" |
25 |
> KEYWORDS="~x86 ~amd64" |
26 |
|
27 |
|
28 |
RESTRICT="nomirror" |
29 |
|
30 |
IUSE="debug" |
31 |
> |
32 |
> DEPEND=">=gnome-base/orbit-2.14.1 |
33 |
> >=dev-libs/libIDL-0.8.5 |
34 |
> >=dev-util/pkgconfig-0.20 |
35 |
> >=dev-util/intltool-0.30 |
36 |
> gnome-base/gnome-common |
37 |
> >=gnome-base/gnome-keyring-0.4.2 |
38 |
> >=mail-client/evolution-2.6 |
39 |
> >=gnome-extra/evolution-data-server-1.6" |
40 |
> |
41 |
> DOCS="COPYING README INSTALL docs/building_from_source |
42 |
> docs/using_evolution-brutus" |
43 |
> |
44 |
> src_compile() { |
45 |
> BRUTUS_ECONF="--enable-brutus-dist=yes \ |
46 |
> --enable-brutus-devel=yes \ |
47 |
> $(use_enable debug brutus-debug yes)" |
48 |
> |
49 |
> econf ${BRUTUS_ECONF} || die "econf failed" |
50 |
> emake || die "emake failed" |
51 |
> } |
52 |
> |
53 |
> src_install() { |
54 |
> emake DESTDIR="${D}" install || die "emake install failed" |
55 |
> } |
56 |
> ################### e-b ebuild end ######################## |
57 |
> |
58 |
> I then tried to follow: |
59 |
> |
60 |
> http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds |
61 |
> |
62 |
> to test if it worked. I tried: |
63 |
> |
64 |
> ebuild /usr/local/portage/gnome-extra/evolution-brutus/evolution- |
65 |
> brutus-1.1.6.ebuild fetch |
66 |
> |
67 |
> to test if ebuild could fetch the source. I naively assumed that ebuild |
68 |
> would look at SRC_URI before trying to download the source. |
69 |
> Unfortunately it tried to connect to all possible gentoo mirrors |
70 |
> instead. Can I get ebuild to download from my site without modifying |
71 |
> make.conf? |
72 |
> |
73 |
> Thanks, |
74 |
> jules |
75 |
> |
76 |
> ############### emerge --info ################### |
77 |
> omc-2 evolution-brutus # emerge --info |
78 |
> Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, |
79 |
> 2.6.17-gentoo-r4 x86_64) |
80 |
> ================================================================= |
81 |
> System uname: 2.6.17-gentoo-r4 x86_64 AMD Opteron(tm) Processor 252 |
82 |
> Gentoo Base System version 1.12.4 |
83 |
> app-admin/eselect-compiler: [Not Present] |
84 |
> dev-lang/python: 2.3.5-r2, 2.4.3-r1 |
85 |
> dev-python/pycrypto: 2.0.1-r5 |
86 |
> dev-util/ccache: [Not Present] |
87 |
> dev-util/confcache: [Not Present] |
88 |
> sys-apps/sandbox: 1.2.17 |
89 |
> sys-devel/autoconf: 2.13, 2.59-r7 |
90 |
> sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 |
91 |
> sys-devel/binutils: 2.16.1-r3 |
92 |
> sys-devel/gcc-config: 1.3.13-r3 |
93 |
> sys-devel/libtool: 1.5.22 |
94 |
> virtual/os-headers: 2.6.11-r2 |
95 |
> ACCEPT_KEYWORDS="amd64" |
96 |
> AUTOCLEAN="yes" |
97 |
> CBUILD="x86_64-pc-linux-gnu" |
98 |
> CFLAGS="-march=k8 -O2 -pipe" |
99 |
> CHOST="x86_64-pc-linux-gnu" |
100 |
> CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ |
101 |
> /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ |
102 |
> /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" |
103 |
> CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild |
104 |
> /etc/terminfo" |
105 |
> CXXFLAGS="-march=k8 -O2 -pipe" |
106 |
> DISTDIR="/usr/portage/distfiles" |
107 |
> FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" |
108 |
> GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ |
109 |
> http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ |
110 |
> http://pandemonium.tiscali.de/pub/gentoo/ |
111 |
> ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ |
112 |
> http://gentoo.prz.rzeszow.pl http://ftp.du.se/pub/os/gentoo |
113 |
> ftp://mirror.pudas.net/gentoo" |
114 |
> MAKEOPTS="-j3" |
115 |
> PKGDIR="/usr/portage/packages" |
116 |
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
117 |
> --compress --force --whole-file --delete --delete-after --stats |
118 |
> --timeout=180 --exclude='/distfiles' --exclude='/local' |
119 |
> --exclude='/packages'" |
120 |
> PORTAGE_TMPDIR="/var/tmp" |
121 |
> PORTDIR="/usr/portage" |
122 |
> PORTDIR_OVERLAY="/usr/local/portage" |
123 |
> SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" |
124 |
> USE="amd64 X aac aalib alsa apache2 avi berkdb bitmap-fonts browserplugin |
125 |
> bzip2 cdr cli crypt cups dlloader dri dvd dvdr dvdread eds emacs emboss |
126 |
> encode fam fbcon firefox foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 |
127 |
> hal iconv imlib ipv6 isdnlog jpeg lzw lzw-tiff mp3 mpeg ncurses nls nptl |
128 |
> nptlonly nsplugin nvidia ogg opengl oss pam pcre pdflib perl png portaudio |
129 |
> pppd python quicktime readline reflection sdl session spell spl ssl tcpd |
130 |
> tetex theora tiff truetype-fonts type1-fonts unicode usb vorbis wma xine |
131 |
> xmms xorg xpm xv xvid zlib elibc_glibc input_devices_evdev |
132 |
> input_devices_keyboard input_devices_mouse kernel_linux userland_GNU |
133 |
> video_cards_nv video_cards_nvidia video_cards_vesa" |
134 |
> Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, |
135 |
> LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS |
136 |
> |
137 |
> |
138 |
> |
139 |
> |
140 |
> -- |
141 |
> gentoo-user@g.o mailing list |
142 |
> |
143 |
> |