diff options
author | Achim Gottinger <achim@gentoo.org> | 2001-01-18 18:22:11 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2001-01-18 18:22:11 +0000 |
commit | be927fab17a0dd2633f78c31e451f17de23973c6 (patch) | |
tree | 59fe8bb1dbbaaea91954157c2e54722c06648f3b /sys-libs | |
parent | *** empty log message *** (diff) | |
download | historical-be927fab17a0dd2633f78c31e451f17de23973c6.tar.gz historical-be927fab17a0dd2633f78c31e451f17de23973c6.tar.bz2 historical-be927fab17a0dd2633f78c31e451f17de23973c6.zip |
*** empty log message ***
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/db/db-3.2.3h.ebuild | 57 | ||||
-rw-r--r-- | sys-libs/db/files/digest-db-3.2.3h | 1 | ||||
-rw-r--r-- | sys-libs/slang/files/digest-slang-1.4.2-r1 | 1 |
3 files changed, 59 insertions, 0 deletions
diff --git a/sys-libs/db/db-3.2.3h.ebuild b/sys-libs/db/db-3.2.3h.ebuild new file mode 100644 index 000000000000..3ab8f40be55b --- /dev/null +++ b/sys-libs/db/db-3.2.3h.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Achim Gottinger <achim@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/sys-libs/db/db-3.2.3h.ebuild,v 1.1 2001/01/18 18:22:11 achim Exp $ + +A=${P}.tar.gz +S=${WORKDIR}/${P}/build_unix +DESCRIPTION="Berkeley DB for transaction support in MySQL" +SRC_URI="ftp://mysql.valueclick.com/mysql/Downloads/db/${A} + http://download.sourceforge.net/pub/mirrors/mysql/Downloads/db/${A}" +HOMEPAGE="http://www.mysql.com" +RDEPEND=">=sys-libs/glibc-2.2 !sys-libs/glibc-2.1.3" +DEPEND="$RDEPEND + =sys-libs/db-1.85" +src_compile() { + + cd ${S} + try ../dist/configure \ + --enable-compat185 --enable-dump185 \ + --prefix=/usr --host=${CHOST} \ + --enable-shared --enable-static \ + --enable-cxx + #--enable-rpc does not work + + echo + # Parallel make does not work + echo "Building static libs..." + make libdb=libdb-3.2.a libdb-3.2.a + make libcxx=libdb_cxx-3.2.a libdb_cxx-3.2.a + + echo + echo "Building db_dump185..." + try /bin/sh ./libtool --mode=compile cc -c ${CFLAGS} -I/usr/include/db1 -I../dist/../include -D_REENTRANT ../dist/../db_dump185/db_dump185.c + try gcc -s -static -o db_dump185 db_dump185.lo -L/usr/lib -ldb1 + + echo + echo "Building everything else..." + try make libdb=libdb-3.2.a libcxx=libdb_cxx-3.2.a +} + +src_install () { + cd ${S} + try make libdb=libdb-3.2.a libcxx=libcxx_3.2.a prefix=${D}/usr install + dolib.a libdb-3.2.a libdb_cxx-3.2.a + dolib libdb-3.2.la libdb_cxx-3.2.la + cd .. + dodoc README LICENSE + mv ${D}/usr/docs ${D}/usr/doc/${PF}/html + prepalldocs + dodir usr/include/db3 + cd ${D}/usr/include + mv *.h db3 + ln db3/db.h db.h + cd ${D}/usr/lib + ln -s libdb-3.2.a libdb.a +} + diff --git a/sys-libs/db/files/digest-db-3.2.3h b/sys-libs/db/files/digest-db-3.2.3h new file mode 100644 index 000000000000..42617da0179b --- /dev/null +++ b/sys-libs/db/files/digest-db-3.2.3h @@ -0,0 +1 @@ +MD5 7a4a88daa29268eebb57ff2ed58dff53 db-3.2.3h.tar.gz diff --git a/sys-libs/slang/files/digest-slang-1.4.2-r1 b/sys-libs/slang/files/digest-slang-1.4.2-r1 new file mode 100644 index 000000000000..ea751ba53026 --- /dev/null +++ b/sys-libs/slang/files/digest-slang-1.4.2-r1 @@ -0,0 +1 @@ +MD5 81f769cb2ff1fb3dbe28bd58866e07c4 slang-1.4.2.tar.gz |