diff options
author | Rob Vermaas <rob.vermaas@gmail.com> | 2010-02-09 09:05:14 +0000 |
---|---|---|
committer | Rob Vermaas <rob.vermaas@gmail.com> | 2010-02-09 09:05:14 +0000 |
commit | b3dfc53d155fc52dd4098e3d3e7aa46645d748b3 (patch) | |
tree | ed651e9206c4aeaf837e59cc51d59719ac87e23b /pkgs/development/libraries/opendbx | |
parent | 61417a05c7c65cb8f7d9ff2bd8d9cedeb66649b5 (diff) |
added opendbx 1.4.4
svn path=/nixpkgs/trunk/; revision=19872
Diffstat (limited to 'pkgs/development/libraries/opendbx')
-rw-r--r-- | pkgs/development/libraries/opendbx/default.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/development/libraries/opendbx/default.nix b/pkgs/development/libraries/opendbx/default.nix new file mode 100644 index 0000000000000..90f454d87beff --- /dev/null +++ b/pkgs/development/libraries/opendbx/default.nix @@ -0,0 +1,17 @@ +{stdenv, fetchurl, readline, mysql, postgresql, sqlite}: + +stdenv.mkDerivation rec { + name = "opendbx-1.4.4"; + src = fetchurl { + url = "http://linuxnetworks.de/opendbx/download/${name}.tar.gz"; + sha256 = "1pc70l54kkdakdw8njr2pnbcghq7fn2bnk97wzhac2adwdkjp7vs"; + }; + + configurePhase = '' + export CPPFLAGS="-I${mysql}/include/mysql" + export LDFLAGS="-L${mysql}/lib/mysql" + ./configure --prefix=$prefix --with-backends="mysql pgsql sqlite3" --disable-dependency-tracking --disable-static + ''; + + buildInputs = [readline mysql postgresql sqlite]; +} |