summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Raschbacher <lordvan@gentoo.org>2002-12-05 19:53:01 +0000
committerThomas Raschbacher <lordvan@gentoo.org>2002-12-05 19:53:01 +0000
commita70a0c2c8e0db3fdb8ca821b4ed89643b80c18fa (patch)
tree764090376c94b476d6ab8e4e270ccb43a1dce511 /dev-db/framerd/framerd-2.4.3-r1.ebuild
parentbison fixes (diff)
downloadgentoo-2-a70a0c2c8e0db3fdb8ca821b4ed89643b80c18fa.tar.gz
gentoo-2-a70a0c2c8e0db3fdb8ca821b4ed89643b80c18fa.tar.bz2
gentoo-2-a70a0c2c8e0db3fdb8ca821b4ed89643b80c18fa.zip
fixed deps (removed emacs dep)
Diffstat (limited to 'dev-db/framerd/framerd-2.4.3-r1.ebuild')
-rw-r--r--dev-db/framerd/framerd-2.4.3-r1.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-db/framerd/framerd-2.4.3-r1.ebuild b/dev-db/framerd/framerd-2.4.3-r1.ebuild
new file mode 100644
index 000000000000..9c0a053aac2e
--- /dev/null
+++ b/dev-db/framerd/framerd-2.4.3-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/framerd/framerd-2.4.3-r1.ebuild,v 1.1 2002/12/05 19:53:01 lordvan Exp $
+
+DESCRIPTION="FramerD is a portable distributed object-oriented database designed to support the maintenance and sharing of knowledge bases."
+HOMEPAGE="http://www.framerd.org/"
+SRC_URI="mirror://sourceforge/framerd/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="readline"
+RDEPEND="readline? >=sys-libs/readline-4.1-r4"
+DEPEND="${RDEPEND}"
+S="${WORKDIR}/${P}"
+
+src_compile() {
+ patch -p0 ${S}/etc/setup.fdx ${FILESDIR}/setup.fdx.patch
+ MY_OPTS="--enable-shared"
+ if [ ! "`use readline`" ]; then
+ MY_OPTS="${MY_OPTS} --without-readline"
+ fi
+ econf ${MY_OPTS}
+
+ emake || die "make failed"
+ #emake test || die "make test failed" # failed!!
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+ mv ${D}/usr/share/framerd/framerd.cfg ${D}/usr/share/framerd/framerd.cfg_orig
+ perl -pe "s|${D}||" ${D}/usr/share/framerd/framerd.cfg_orig > ${D}/usr/share/framerd/framerd.cfg
+ rm ${D}/usr/share/framerd/framerd.cfg_orig
+}