Added my initial KDE 4.4 expression
svn path=/nixpkgs/trunk/; revision=19906
This commit is contained in:
30
pkgs/development/libraries/redland/1.0.10.nix
Normal file
30
pkgs/development/libraries/redland/1.0.10.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
args: with args;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "redland-1.0.10";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sf/librdf/${name}.tar.gz";
|
||||
sha256 = "05cq722qvw5sq08qbydzjv5snqk402cbdsy8s6qjzir7vq2hs1p3";
|
||||
};
|
||||
|
||||
buildInputs = [pkgconfig];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
bdb openssl libxslt perl mysql postgresql sqlite curl pcre libxml2
|
||||
librdf_raptor librdf_rasqal
|
||||
];
|
||||
|
||||
configureFlags = "--with-threads --with-bdb=${bdb}";
|
||||
|
||||
patchPhase =
|
||||
''
|
||||
sed -e 1s@/usr@${perl}@ -i utils/touch-mtime.pl
|
||||
|
||||
# Redland 1.0.9 uses an internal pre-processor symbol SQLITE_API
|
||||
# that collides with a symbol of the same name in sqlite 3.6.19.
|
||||
# This is a quick fix for the problem. A real solution needs to be
|
||||
# implemented upstream, though.
|
||||
find . -type f -exec sed -i -e 's/SQLITE_API/REDLAND_SQLITE_API/g' {} \;
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user