blob: 76dbb9ced26b7d7121fd5f9fbbe2544fa5e83df1 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/bigloo-lib/bigloo-lib-0.17.ebuild,v 1.3 2002/07/11 06:30:21 drobbins Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Bigloo support libraries"
SRC_URI="mirror://sourceforge/bigloo-lib/${P}.tar.gz"
HOMEPAGE="http://bigloo-lib.sf.net"
DEPEND=">=dev-lisp/bigloo-2.4
gd? ( >=media-libs/libgd-1.8.3 )
X? ( virtual/x11 )
gtk? ( =x11-libs/gtk+-1.2* )
gtk2? ( x11-libs/gtk+-2* )
ldap? ( >=net-nds/openldaap/2.0.18 )
gdbm? ( >=sys-libs/gdbm-1.8.0 )
gettext? ( >=sys-devel/gettext-0.11.1 )
"
#RDEPEND=""
src_compile() {
local myc
# readline support is flaky
# myc="--with-commandline"
use gd && myc="$myc --with-gd" || myc="$myc --without-gd"
use X && myc="$myc --with-x" || myc="$myc --without-x"
use gtk && myc="$myc --with-gtk" || myc="$myc --without-gtk"
use gtk2 && myc="$myc --with-gtk2" || myc="$myc --without-gtk2"
use ldap && myc="$myc --with-ldap" || myc="$myc --without-ldap"
use nls && myc="$myc --with-iconv" || myc="$myc --without-nls"
use gettext && myc="$myc --with-gettext" || myc="$myc --without-gettext"
use ipcs && myc="$myc --with-ipcs" || myc="$myc --without-ipcs"
# gdbm support doesn't work
# use gdbm && myc="$myc --with-gdbm" || myc="$myc --without-gdbm"
myc="$myc --without-gdbm"
use mysql && myc="$myc --with-mysql" || myc="$myc --without-mysql"
use postgres && myc="$myc --with-postgres" || myc="$myc --without-postgres"
use expat && myc="$myc --with-expat" || myc="$myc --without-expat"
./configure \
--host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
$myc || die "./configure failed"
emake || die
#make || die
}
src_install () {
make DESTDIR=${D} install || die
#make \
# prefix=${D}/usr \
# mandir=${D}/usr/share/man \
# infodir=${D}/usr/share/info \
# install || die
}
|