Gentoo Archives: gentoo-dev

From: "Brett I. Holcomb" <brettholcomb@×××××××.net>
To: gentoo-dev@g.o
Subject: [gentoo-dev] ebuild doesn't build
Date: Tue, 08 Jul 2003 01:06:39
Message-Id: auto-000082323886@remt26.cluster1.charter.net
1 I am attempting to create an ebuild. I've read the docs/man pages several
2 times! As I understand it
3
4 1. If I define PORTDIR_OVERLAY as /usr/local/portage I can create and put my
5 ebuilds in there and they will not be overwritten. I created this directory
6 and uncommented the line in /etc/make.conf
7
8 2. I then moved to /usr/local/portage and created x11-wm/xfce4 directory
9 tree. In xfce4 I then copied an xfce4 ebuild from /usr/portage/x11-wm/xfce4
10 along with the files directory.
11
12 3. I modified the ebuild to have essentially only the headers, description,
13 set some variables and echo them. I change to
14 /usr/local/portage/x11-wm/xfce4 and run
15
16 emerge xfce4-cvs-3.9-r1.ebuild
17
18 (I've also given /usr/local/portage/x11-wm/xfce4/.... as a full path).
19
20 The result is that emerge tells me:
21
22 Calculating dependencies. ebuidl for xfce4-cvs-3.9-r1 does not exist at
23 /usr/portage/x11-wm/xfce4-cvs/xfce4-cvs-3.9-r1.ebuild.
24
25 Of course it doesn't! The ebuild is in /usr/local/portage where I'm running
26 from.
27
28 Why is emerge trying to look for the ebuild in /usr/portage and not in
29 /usr/local/portage?
30
31 Thanks.
32
33 Here's the ebuild.
34
35 # Copyright 1999-2003 Gentoo Technologies, Inc.
36 # Distributed under the terms of the GNU General Public License v2
37 # $Header: /home/cvsroot/gentoo-x86/x11-wm/xfce4/xfce4-cvs.ebuild,v 1.0
38 2003/07/07 20:13:11 bholcomb Exp $
39
40 #HOMEPAGE="http://www.xfce.org/"
41
42
43 IUSE=""
44
45 inherit eutils
46
47 ECVS_SERVER="cvs.xfce.sourceforge.net:/cvsroot/xfce"
48 echo ${ECVS_SERVER}
49 ECVS_MODULE="xfce-devel/libxfce4util"
50 echo ${ECVS_MODULE}
51 ECVS_BRANCH=${PN/cvs/}${PV//./-}
52 echo ${EVCS_BRANCH}
53 ECVS_BRANCH=${ECVS_BRANCH/pre/pre-}
54 echo ${EVCS_BRANCH}
55 ECVS_BRANCH=${ECVS_BRANCH/_/-}
56 echo ${EVCS_BRANCH}
57 ECVS_TOP_DIR="${DISTDIR}/cvs-src/${ECVS_BRANCH}"
58 echo ${EVCS_TOPDIR}
59
60 DESCRIPTION="XFCE4, a lightweight Desktop Environment"
61 SLOT="0"
62 LICENSE="GPL-2"
63 KEYWORDS="~x86"
64
65 die Done
66
67
68
69
70
71 --
72
73 Brett I. Holcomb
74 AKA Grunt <><
75
76 --
77 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] ebuild doesn't build Max Kalika <max+lists.gentoo-dev@×××××××××.edu>