Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Newbie ebuild question Andrew Frink <andrew.frink@×××××.com>