diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2003-11-16 11:57:29 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2003-11-16 11:57:29 +0000 |
commit | 94642baf383acdb902f62bbdc6c4b6f53098da40 (patch) | |
tree | 35b7c97b2e14e226d7b5645d47737b402f8da8af /dev-db/libodbc++ | |
parent | initial commit, from bug 26140, submission by Henri Schomaecker <henri.schoma... (diff) | |
download | historical-94642baf383acdb902f62bbdc6c4b6f53098da40.tar.gz historical-94642baf383acdb902f62bbdc6c4b6f53098da40.tar.bz2 historical-94642baf383acdb902f62bbdc6c4b6f53098da40.zip |
initial commit, from bug 26140, submission by Henri Schomaecker <henri.schomaecker@virtual-homes.de>
Diffstat (limited to 'dev-db/libodbc++')
-rw-r--r-- | dev-db/libodbc++/Manifest | 4 | ||||
-rw-r--r-- | dev-db/libodbc++/files/digest-libodbc++-0.2.3 | 1 | ||||
-rw-r--r-- | dev-db/libodbc++/libodbc++-0.2.3.ebuild | 51 | ||||
-rw-r--r-- | dev-db/libodbc++/metadata.xml | 8 |
4 files changed, 63 insertions, 1 deletions
diff --git a/dev-db/libodbc++/Manifest b/dev-db/libodbc++/Manifest index 3594fec905d2..e341156338e8 100644 --- a/dev-db/libodbc++/Manifest +++ b/dev-db/libodbc++/Manifest @@ -1,2 +1,4 @@ -MD5 9bc7aaadd8d342098710d6e16b5d4076 libodbc++-0.2.3.ebuild 888 +MD5 b4e29ef5ac0ea4106f2c0864c85ce4c4 libodbc++-0.2.3.ebuild 1406 +MD5 d3d9e8c7ade124f3d94c7daddf584e7c ChangeLog 429 +MD5 21cd68602737d7c996bceabf6e62c468 metadata.xml 223 MD5 76859551271b481b467298625eca2fbf files/digest-libodbc++-0.2.3 67 diff --git a/dev-db/libodbc++/files/digest-libodbc++-0.2.3 b/dev-db/libodbc++/files/digest-libodbc++-0.2.3 new file mode 100644 index 000000000000..424216231d25 --- /dev/null +++ b/dev-db/libodbc++/files/digest-libodbc++-0.2.3 @@ -0,0 +1 @@ +MD5 92cb6171e5235324c710d89cd271eff9 libodbc++-0.2.3.tar.gz 450097 diff --git a/dev-db/libodbc++/libodbc++-0.2.3.ebuild b/dev-db/libodbc++/libodbc++-0.2.3.ebuild new file mode 100644 index 000000000000..4b1e45eb7c39 --- /dev/null +++ b/dev-db/libodbc++/libodbc++-0.2.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/libodbc++/libodbc++-0.2.3.ebuild,v 1.1 2003/11/16 11:57:27 robbat2 Exp $ +S=${WORKDIR}/${P} +DESCRIPTION="Libodbc++ is a c++ class library that provides a subset of the well-known JDBC 2.0(tm) and runs on top of ODBC." +SRC_URI="mirror://sourceforge/libodbcxx/${P}.tar.gz" +HOMEPAGE="http://libodbcxx.sourceforge.net/" +LICENSE="LGPL-2.1" +DEPEND="dev-db/unixODBC" +KEYWORDS="~x86 ~ppc ~hppa ~alpha amd64" +SLOT=0 + +src_compile() { + local commonconf + commonconf="--with-isqlxx --with-odbc --without-tests" + commonconf="${commonconf} --enable-static --enable-shared" + # " --enable-threads" + + if use qt; then + einfo "Cloning to build with qt" + einfo "ccache would really help you compiling this package..." + cp -ra ${S} ${S}_qt + fi + + econf \ + ${commonconf} \ + || die "econf failed" + emake || die "emake failed" + # using without-qt breaks the build + #--without-qt \ + + if use qt; then + cd ${S}_qt + econf \ + ${commonconf} \ + --with-qtsqlxx --with-qt \ + || die "econf failed" + emake || die "emake failed" + fi + +} + +src_install () { + make DESTDIR=${D} install || die "make install failed" + dodoc AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README THANKS TODO + if use qt; then + cd ${S}_qt + make DESTDIR=${D} install || die "make install failed" + fi + +} diff --git a/dev-db/libodbc++/metadata.xml b/dev-db/libodbc++/metadata.xml new file mode 100644 index 000000000000..5d9f5be9d49d --- /dev/null +++ b/dev-db/libodbc++/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>robbat2@gentoo.org</email> +</maintainer> +</pkgmetadata> |