nixpkgs/pkgs/development/libraries/redland/default.nix
Eelco Dolstra 94d7d1fdbb * Got rid of all --disable-static flags; they're redundant now.
* Also a bunch of style cleanups (tabs, with args, ...).

svn path=/nixpkgs/branches/stdenv-updates/; revision=15235
2009-04-21 23:18:09 +00:00

21 lines
481 B
Nix

args: with args;
stdenv.mkDerivation rec {
name = "redland-1.0.7";
src = fetchurl {
url = "mirror://sf/librdf/${name}.tar.gz";
sha256 = "1z160hhrnlyy5c8vh2hjza6kdfmzml8mg9dk8yffifkhnxjq5r2z";
};
buildInputs = [pkgconfig];
propagatedBuildInputs = [
bdb openssl libxslt perl mysql postgresql sqlite curl pcre libxml2
];
configureFlags = "--with-threads --with-bdb=${bdb}";
patchPhase = "sed -e 1s@/usr@${perl}@ -i utils/touch-mtime.pl";
}