blob: 4512844132826149f36f3ec59eb5a297d2f0b7e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat/xchat-1.4.2.ebuild,v 1.6 2000/11/05 14:42:17 achim Exp $
A=${P}.tar.bz2
S=${WORKDIR}/${P}
DESCRIPTION="xchat"
SRC_URI="http://www.xchat.org/files/source/1.4/"${A}
HOMEPAGE="http://www.xchat.org/"
DEPEND=">=media-libs/imlib-1.9.8.1
gnome? ( >=gnome-base/gnome-core-1.2.2.1 )"
src_compile() {
cd ${S}
local myopts
if [ -n "`use gnome`" ]
then
myopts="--enable-gnome --prefix=/opt/gnome"
else
myopts="--disable-gnome --prefix=/usr/X11R6"
fi
try ./configure --host=${CHOST} --disable-perl --disable-python ${myopts} --with-catgets
try make
}
src_install() {
cd ${S}
if [ -n "`use gnome`" ]
then
try make prefix=${D}/opt/gnome install
else
try make prefix=${D}/usr/X11R6 install
fi
dodoc AUTHORS COPYING ChangeLog NEWS README
}
|