From: Jules Colding <colding@omesc.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Newbie ebuild question
Date: Mon, 21 Aug 2006 09:58:47 +0200 [thread overview]
Message-ID: <1156147127.28785.2.camel@omc-2.omesc.com> (raw)
In-Reply-To: <8146fc8a0608180642i6ed6a8f2wbddebd1e7d500602@mail.gmail.com>
On Fri, 2006-08-18 at 09:42 -0400, Andrew Frink wrote:
> Jules,
> I think you need to add something like(see below) Read the man page
> for that one, or grep usr/portage/
Thanks a lot. 'nomirror' is not in the ebuild man page but there are
plenty of packages that are using it.
Thanks,
jules
> Andrew
>
> On 8/18/06, Jules Colding <colding@omesc.com> wrote:
> Hi,
>
> I am trying to create an ebuild file for evolution-brutus. It
> is
> presently looking like this (with comments removed):
>
> ################### e-b ebuild start ########################
> inherit eutils flag-o-matic
>
> DESCRIPTION="Brutus Exchange connector for Evolution 2.4 and
> 2.6"
> HOMEPAGE="http://www.omesc.com/"
> SRC_URI="http://www.omesc.com/content/downloads/dist/SOURCES/evolution-brutus-1.1.6.tar.gz"
>
> LICENSE="GPL-2"
> SLOT="0"
> KEYWORDS="~x86 ~amd64"
>
> RESTRICT="nomirror"
>
>
> IUSE="debug"
>
> DEPEND=">=gnome-base/orbit-2.14.1
> >=dev-libs/libIDL-0.8.5
> >=dev-util/pkgconfig-0.20
> >=dev-util/intltool-0.30
> gnome-base/gnome-common
> >=gnome-base/gnome- keyring-0.4.2
> >=mail-client/evolution-2.6
> >=gnome-extra/evolution-data-server-1.6"
>
> DOCS="COPYING README INSTALL docs/building_from_source
> docs/using_evolution-brutus"
>
> src_compile() {
> BRUTUS_ECONF="--enable-brutus-dist=yes \
> --enable-brutus-devel=yes \
> $(use_enable debug brutus-debug yes)"
>
> econf ${BRUTUS_ECONF} || die "econf failed"
> emake || die "emake failed"
> }
>
> src_install() {
> emake DESTDIR="${D}" install || die "emake install failed"
> }
> ################### e-b ebuild end ########################
>
> I then tried to follow:
>
> http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds
>
> to test if it worked. I tried:
>
> ebuild /usr/local/portage/gnome-extra/evolution-brutus/evolution- brutus-1.1.6.ebuild fetch
>
> to test if ebuild could fetch the source. I naively assumed
> that ebuild
> would look at SRC_URI before trying to download the source.
> Unfortunately it tried to connect to all possible gentoo
> mirrors
> instead. Can I get ebuild to download from my site without
> modifying
> make.conf?
>
> Thanks,
> jules
>
> ############### emerge --info ###################
> omc-2 evolution-brutus # emerge --info
> 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)
> =================================================================
> System uname: 2.6.17-gentoo-r4 x86_64 AMD Opteron(tm)
> Processor 252
> Gentoo Base System version 1.12.4
> app-admin/eselect-compiler: [Not Present]
> dev-lang/python: 2.3.5-r2, 2.4.3-r1
> dev-python/pycrypto: 2.0.1-r5
> dev-util/ccache: [Not Present]
> dev-util/confcache: [Not Present]
> sys-apps/sandbox: 1.2.17
> sys-devel/autoconf: 2.13, 2.59-r7
> sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3,
> 1.9.6-r2
> sys-devel/binutils: 2.16.1-r3
> sys-devel/gcc-config: 1.3.13-r3
> sys-devel/libtool: 1.5.22
> virtual/os-headers: 2.6.11-r2
> ACCEPT_KEYWORDS="amd64"
> AUTOCLEAN="yes"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-march=k8 -O2 -pipe"
> CHOST="x86_64-pc-linux-gnu"
> 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/"
> CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
> CXXFLAGS="-march=k8 -O2 -pipe"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="autoconfig distlocks metadata-transfer sandbox
> sfperms strict"
> 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"
> MAKEOPTS="-j3"
> PKGDIR="/usr/portage/packages"
> 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'"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> PORTDIR_OVERLAY="/usr/local/portage"
> SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
> 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"
> Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG,
> LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
>
>
>
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-08-21 8:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-18 13:32 [gentoo-user] Newbie ebuild question Jules Colding
2006-08-18 13:42 ` Andrew Frink
2006-08-21 7:58 ` Jules Colding [this message]
2006-08-21 8:40 ` Neil Bothwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1156147127.28785.2.camel@omc-2.omesc.com \
--to=colding@omesc.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox