summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-08-05 09:08:41 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-08-05 09:08:41 +0000
commit585160f4520fe9e93b3097754a13845a1a7de138 (patch)
treea513fdd69ea5eae6feb0767f18435195d75c3690 /dev-lisp
parentVersion bump (diff)
downloadgentoo-2-585160f4520fe9e93b3097754a13845a1a7de138.tar.gz
gentoo-2-585160f4520fe9e93b3097754a13845a1a7de138.tar.bz2
gentoo-2-585160f4520fe9e93b3097754a13845a1a7de138.zip
repoman'd
Diffstat (limited to 'dev-lisp')
-rw-r--r--dev-lisp/bigloo-lib/bigloo-lib-0.17.ebuild89
1 files changed, 55 insertions, 34 deletions
diff --git a/dev-lisp/bigloo-lib/bigloo-lib-0.17.ebuild b/dev-lisp/bigloo-lib/bigloo-lib-0.17.ebuild
index 89d7ad4ebcda..088be242bbb6 100644
--- a/dev-lisp/bigloo-lib/bigloo-lib-0.17.ebuild
+++ b/dev-lisp/bigloo-lib/bigloo-lib-0.17.ebuild
@@ -1,59 +1,80 @@
# 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.4 2002/07/30 06:59:57 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/bigloo-lib/bigloo-lib-0.17.ebuild,v 1.5 2002/08/05 09:08:41 seemant Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Bigloo support libraries"
SRC_URI="mirror://sourceforge/bigloo-lib/${P}.tar.gz"
HOMEPAGE="http://bigloo-lib.sf.net"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86"
+
DEPEND=">=dev-lisp/bigloo-2.4
- gd? ( >=media-libs/libgd-1.8.3 )
X? ( virtual/x11 )
+ gd? ( >=media-libs/libgd-1.8.3 )
gtk? ( =x11-libs/gtk+-1.2* )
+ nls? ( >=sys-devel/gettext-0.11.1 )
gtk2? ( =x11-libs/gtk+-2* )
ldap? ( >=net-nds/openldap-2.0.18 )
gdbm? ( >=sys-libs/gdbm-1.8.0 )
- gettext? ( >=sys-devel/gettext-0.11.1 )
"
-#RDEPEND=""
-
src_compile() {
- local myc
+ local myconf
# 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"
+# myconf="--with-commandline"
+ use gd && \
+ myconf="${myconf} --with-gd" \
+ || myconf="${myconf} --without-gd"
+
+ use X \
+ && myconf="${myconf} --with-x" \
+ || myconf="${myconf} --without-x"
+
+ use gtk \
+ && myconf="${myconf} --with-gtk" \
+ || myconf="${myconf} --without-gtk"
+
+ use gtk2 \
+ && myconf="${myconf} --with-gtk2" \
+ || myconf="${myconf} --without-gtk2"
+
+ use ldap \
+ && myconf="${myconf} --with-ldap" \
+ || myconf="${myconf} --without-ldap"
+
+ use nls \
+ && myconf="${myconf} --with-iconv --with-gettext" \
+ || myconf="${myconf} --without-nls --without-gettext"
+
+ use ipcs \
+ && myconf="${myconf} --with-ipcs" \
+ || myconf="${myconf} --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"
+# use gdbm \
+# && myconf="${myconf} --with-gdbm" \
+# || myconf="${myconf} --without-gdbm"
+ myconf="${myconf} --without-gdbm"
+
+ use mysql \
+ && myconf="${myconf} --with-mysql" \
+ || myconf="${myconf} --without-mysql"
+
+ use postgres \
+ && myconf="${myconf} --with-postgres" \
+ || myconf="${myconf} --without-postgres"
+
+ use expat \
+ && myconf="${myconf} --with-expat" \
+ || myconf="${myconf} --without-expat"
+
+
+ econf ${myconf} || 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
}