diff options
Diffstat (limited to 'dev-db/firebird/firebird-1.0.ebuild')
-rw-r--r-- | dev-db/firebird/firebird-1.0.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/dev-db/firebird/firebird-1.0.ebuild b/dev-db/firebird/firebird-1.0.ebuild new file mode 100644 index 000000000000..d0cb41035a1e --- /dev/null +++ b/dev-db/firebird/firebird-1.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Geert Bevin <gbevin@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/dev-db/firebird/firebird-1.0.ebuild,v 1.1 2002/03/20 19:19:43 gbevin Exp $ + +S=${WORKDIR}/firebird-1.0.0.796 + +DESCRIPTION="Firebird is a relational database offering many ANSI SQL-92 features that runs on Linux, Windows, and a variety of Unix platforms. Firebird offers excellent concurrency, high performance, and powerful language support for stored procedures and triggers. It has been used in production systems, under a variety of names since 1981." +SRC_URI="http://prdownloads.sourceforge.net/firebird/FirebirdCS-1.0.0.796-0.tar.gz + http://prdownloads.sourceforge.net/firebird/Firebird-1.0.0.796.src.tar.gz" + +HOMEPAGE="http://firebird.sourceforge.net/" + +DEPEND="sys-apps/bash + app-arch/zip + >=sys-devel/gcc-2.95.3-r5" + +src_unpack() { + unpack FirebirdCS-1.0.0.796-0.tar.gz + cd ${WORKDIR} + unpack Firebird-1.0.0.796.src.tar.gz + cd ${WORKDIR}/FirebirdCS-1.0.0.796-0 + tar xzf buildroot.tar.gz + + cd ${S} + cp builds/original/build_kit builds/original/build_kit_orig + sed "s#LD_LIBRARY_PATH=\$CURDIR/jrd:\$CURDIR/interbase/lib#LD_LIBRARY_PATH=\$CURDIR/jrd:\$CURDIR/interbase/lib:\$INTERBASE/lib#" \ + builds/original/build_kit_orig > builds/original/build_kit +} + +src_compile() { + export INTERBASE="${WORKDIR}/FirebirdCS-1.0.0.796-0/opt/interbase/" + export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$INTERBASE/lib" + export FIREBIRD_64_BIT_IO="1" + export NOPROMPT_SETUP="1" + ./Configure.sh PROD || die + cd ${S}/interbase/lib + ln -s gds.so libgds.so + cd ${S} + source Configure_SetupEnv.sh + make LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$INTERBASE/lib" firebird || die + make classicpackages || die +} + +src_install () { + dodoc README + cd ${D} + tar xzpf ${S}/FirebirdCS-1.0.0.796-0.64IO/buildroot.tar.gz +} |