diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-db/libdbi-drivers | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-db/libdbi-drivers')
-rw-r--r-- | dev-db/libdbi-drivers/Manifest | 1 | ||||
-rw-r--r-- | dev-db/libdbi-drivers/files/libdbi-drivers-0.9.0-doc-build-fix.patch | 22 | ||||
-rw-r--r-- | dev-db/libdbi-drivers/libdbi-drivers-0.9.0.ebuild | 85 | ||||
-rw-r--r-- | dev-db/libdbi-drivers/metadata.xml | 10 |
4 files changed, 118 insertions, 0 deletions
diff --git a/dev-db/libdbi-drivers/Manifest b/dev-db/libdbi-drivers/Manifest new file mode 100644 index 00000000000..8187cca2d4c --- /dev/null +++ b/dev-db/libdbi-drivers/Manifest @@ -0,0 +1 @@ +DIST libdbi-drivers-0.9.0.tar.gz 1829864 SHA256 43d2eacd573a4faff296fa925dd97fbf2aedbf1ae35c6263478210c61004c854 SHA512 f4d3aaa71014697c53012a10bf9f0af398bcf5ee5872af165f8f43a682d2fb3045a9172ffea0e068dcbfcad52494878c037d8d90fadfaf176936e42f7f1e85c1 WHIRLPOOL 6ed745a19afe4b6b5d51f7730ca9698e645fac529051aeaae886938e063f8fcd3357c2f24913a5428db4847de1de38e931acc1e3e20aeed3e6d71b6877a104d6 diff --git a/dev-db/libdbi-drivers/files/libdbi-drivers-0.9.0-doc-build-fix.patch b/dev-db/libdbi-drivers/files/libdbi-drivers-0.9.0-doc-build-fix.patch new file mode 100644 index 00000000000..d0d74221fdb --- /dev/null +++ b/dev-db/libdbi-drivers/files/libdbi-drivers-0.9.0-doc-build-fix.patch @@ -0,0 +1,22 @@ +diff -Nuar libdbi-drivers-0.9.0.orig/configure.in libdbi-drivers-0.9.0/configure.in +--- libdbi-drivers-0.9.0.orig/configure.in 2013-03-11 23:41:05.000000000 +0000 ++++ libdbi-drivers-0.9.0/configure.in 2013-08-29 15:52:57.632105403 +0000 +@@ -165,14 +165,13 @@ + dnl See whether to build the docs + dnl ============================== + +-ac_docs="YES" ++ac_docs="yes" + AC_ARG_ENABLE(docs, + [ --disable-docs do not build and install the documentation.], +- [ if test "$enable_docs" = "no"; then +- ac_docs="NO" +- fi]) ++ [ ac_docs="$enableval" ], ++ [ ac_docs="no" ]) + +-if test "$ac_docs" = "YES"; then ++if test "$ac_docs" = "yes"; then + docs_subdirs="doc" + else + docs_subdirs="" diff --git a/dev-db/libdbi-drivers/libdbi-drivers-0.9.0.ebuild b/dev-db/libdbi-drivers/libdbi-drivers-0.9.0.ebuild new file mode 100644 index 00000000000..ebfa017ffc8 --- /dev/null +++ b/dev-db/libdbi-drivers/libdbi-drivers-0.9.0.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils autotools + +DESCRIPTION="The libdbi-drivers project maintains drivers for libdbi" +SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${P}/${P}.tar.gz" +HOMEPAGE="http://libdbi-drivers.sourceforge.net/" +LICENSE="LGPL-2.1" + +IUSE="doc firebird mysql oci8 postgres +sqlite static-libs" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd" +SLOT=0 +REQUIRED_USE="|| ( mysql postgres sqlite firebird oci8 )" +RESTRICT="firebird? ( bindist )" + +RDEPEND=" + >=dev-db/libdbi-0.9.0 + firebird? ( dev-db/firebird ) + mysql? ( virtual/mysql ) + postgres? ( dev-db/postgresql ) + sqlite? ( dev-db/sqlite:3 ) +" +DEPEND="${RDEPEND} + doc? ( app-text/openjade ) +" + +DOCS="AUTHORS ChangeLog NEWS README README.osx TODO" + +pkg_setup() { + use oci8 && [[ -z "${ORACLE_HOME}" ]] && die "\$ORACLE_HOME is not set!" +} + +src_prepare() { + #"${FILESDIR}"/${P}-fix-ac-macro.patch \ + #"${FILESDIR}"/${PN}-0.8.3-oracle-build-fix.patch \ + #"${FILESDIR}"/${PN}-0.8.3-firebird-fix.patch + epatch \ + "${FILESDIR}"/${PN}-0.9.0-doc-build-fix.patch + eautoreconf +} + +src_configure() { + local myconf="" + # WARNING: the configure script does NOT work correctly + # --without-$driver does NOT work + # so do NOT use `use_with...` + # Future additions: + # msql + # freetds + # ingres + # db2 + use mysql && myconf+=" --with-mysql" + use postgres && myconf+=" --with-pgsql" + use sqlite && myconf+=" --with-sqlite3" + use firebird && myconf+=" --with-firebird" + if use oci8; then + [[ -z "${ORACLE_HOME}" ]] && die "\$ORACLE_HOME is not set!" + myconf+=" --with-oracle-dir=${ORACLE_HOME} --with-oracle" + fi + + econf \ + $(use_enable doc docs) \ + $(use_enable static-libs static) \ + ${myconf} +} + +src_test() { + if [[ -z "${WANT_INTERACTIVE_TESTS}" ]]; then + ewarn "Tests disabled due to interactivity." + ewarn "Run with WANT_INTERACTIVE_TESTS=1 if you want them." + return 0 + fi + einfo "Running interactive tests" + emake check +} + +src_install() { + default + + prune_libtool_files --all +} diff --git a/dev-db/libdbi-drivers/metadata.xml b/dev-db/libdbi-drivers/metadata.xml new file mode 100644 index 00000000000..dfe597613c3 --- /dev/null +++ b/dev-db/libdbi-drivers/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>robbat2@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="sourceforge">libdbi-drivers</remote-id> + </upstream> +</pkgmetadata> |