summaryrefslogtreecommitdiff
blob: 9b28a645fe61665a52d47b584c539d7e43b4bf1e (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
# Distributed under the terms of the GNU General Public License, v2 or later
# A Gnome ICQ Clone
# Author Ben Lutgens <blutgens@gentoo.org>

A=${P}.tar.bz2
S=${WORKDIR}/${P}
DESCRIPTION="Gnome ICQ Client"
SRC_URI="http://download.sourceforge.net/gnomeicu/${A}"
HOMEPAGE="http://gnomeicu.sourceforge.net/"

DEPEND=">=x11-libs/gtk+-1.2.0"

src_compile() {                           
  local myconf
  local myprefix
  myprefix="/opt/gnome"
  if [ -z "`use esd`" ]
  then
  	myconf="--disable-esd-test"
  fi
  if [ "`use socks5`" ];
  then
  	myconf="${myconf} --enable-socks5"
  fi

# This is busted, I'm not sure if it's my box or what, I don't have nls in use
# so the disabling should work perfectly.
#
#  if [ -z "`use nls`" ]
#  then
#	myconf="${myconf} --disable-nls"
#  fi
  try ./configure --host=${CHOST} ${myconf} --prefix=${myprefix}
  try make
}

src_install() {

  try make DESTDIR=${D}  install
  dodoc AUTHORS COPYING CREDITS ChangeLog INSTALL NEWS README TODO ABOUT-NLS
}