* Added the MySQL ODBC connector.

* Enable unixODBC support in PHP.
* Build MySQL with thread-safe client libraries.

svn path=/nixpkgs/trunk/; revision=5045
This commit is contained in:
Eelco Dolstra
2006-03-15 15:59:20 +00:00
parent 3d24096431
commit 9f1b5e24ad
6 changed files with 43 additions and 4 deletions

View File

@@ -0,0 +1,7 @@
source $stdenv/setup
configureFlags="$configureFlags \
--with-mysql-path=$mysql \
--with-unixODBC=$unixODBC"
genericBuild

View File

@@ -0,0 +1,13 @@
{stdenv, fetchurl, mysql, libtool, zlib, unixODBC}:
stdenv.mkDerivation {
name = "mysql-connector-odbc-3.51.12";
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.snt.utwente.nl/pub/software/mysql/Downloads/MyODBC3/mysql-connector-odbc-3.51.12.tar.gz;
md5 = "a484f590464fb823a8f821b2f1fd7fef";
};
configureFlags = "--disable-gui";
buildInputs = [libtool zlib];
inherit mysql unixODBC;
}