Gentoo Archives: gentoo-dev

From: Aron Griffis <agriffis@g.o>
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] Updated edb-1.0.3 ebuild file
Date: Sun, 07 Oct 2001 17:08:14
Message-Id: 20011007180853.B20363@yde.flatmonk.org
In Reply to: [gentoo-dev] Updated edb-1.0.3 ebuild file by Joshua Pierre
1 Hello Joshua,
2
3 I won't add this ebuild personally, because I'm not on the Desktop Team,
4 however a couple things to note.
5
6 (1) "try" is deprecated. Its function is now replaced by "die". In
7 other words, you can remove the references to "try" below.
8
9 (2) It isn't necessary to "cd $S" in src_compile or src_install. That
10 is the default directory for those functions.
11
12 Aron
13
14 Joshua Pierre wrote: [Sun Oct 07 2001, 04:41:36AM EST]
15 > # Distributed under the terms of the GNU General Public License, v2 or later
16 > # Author Joshua Pierre <joshua@×××××.com>
17 >
18 > S=${WORKDIR}/${P}
19 > DESCRIPTION="Enlightenment Data Base library"
20 > SRC_URI="http://www.au.rasterman.com/files/edb-1.0.3.tar.gz"
21 > HOMEPAGE="http://www.enlightenment.org/"
22 >
23 > RDEPEND="virtual/glibc
24 > >=x11-libs/gtk+-1.2.10-r4"
25 > DEPEND="$RDEPEND sys-apps/which"
26 >
27 > src_compile() {
28 > cd $S
29 > try ./configure --prefix=/usr --host=${CHOST} || die
30 > try make || die
31 > }
32 >
33 > src_install() {
34 > cd $S
35 > try make install DESTDIR=${D} || die
36 > dodoc README AUTHORS COPYING src/LICENSE
37 > }