Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Newbie ebuild question Neil Bothwick <neil@××××××××××.uk>