2009-04-22 01:18:09 +02:00
|
|
|
args: with args;
|
|
|
|
|
2008-01-15 02:41:20 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "redland-1.0.7";
|
2007-10-01 17:14:50 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2008-02-10 18:42:11 +01:00
|
|
|
url = "mirror://sf/librdf/${name}.tar.gz";
|
2008-01-15 02:41:20 +01:00
|
|
|
sha256 = "1z160hhrnlyy5c8vh2hjza6kdfmzml8mg9dk8yffifkhnxjq5r2z";
|
2007-10-01 17:14:50 +02:00
|
|
|
};
|
2009-04-22 01:18:09 +02:00
|
|
|
|
2008-02-10 18:42:11 +01:00
|
|
|
buildInputs = [pkgconfig];
|
2009-04-22 01:18:09 +02:00
|
|
|
|
|
|
|
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";
|
2007-10-01 17:14:50 +02:00
|
|
|
}
|