3
0
Fork 0
forked from mirrors/nixpkgs

virtuoso: apply patch as proposed by Nepomuk developers

svn path=/nixpkgs/trunk/; revision=29514
This commit is contained in:
Yury G. Kudryashov 2011-09-27 15:40:45 +00:00
parent 109b36eca9
commit 791cf785b8

View file

@ -10,6 +10,16 @@ stdenv.mkDerivation rec {
buildInputs = [ libxml2 openssl readline gawk ]; buildInputs = [ libxml2 openssl readline gawk ];
patchFlags = "-p0";
patches =
[ (fetchurl {
url = "http://bugsfiles.kde.org/attachment.cgi?id=63510";
name = "virtuoso-charset-fix.diff";
sha256 = "09kxjhsy3rbys0bcxpmgga4sa6qjyy79dyl4n8b0gp1hnzjskvkz";
})
];
CPP = "${stdenv.gcc}/bin/gcc -E"; CPP = "${stdenv.gcc}/bin/gcc -E";
configureFlags = " configureFlags = "
@ -19,13 +29,14 @@ stdenv.mkDerivation rec {
"; ";
postInstall='' postInstall=''
echo Move documentation echo Moving documentation
mkdir -pv $out/share/doc mkdir -pv $out/share/doc
mv -v $out/share/virtuoso/doc $out/share/doc/${name} mv -v $out/share/virtuoso/doc $out/share/doc/${name}
find $out -name "*.a" -delete -o -name "*.jar" -delete -o -type d -empty -delete find $out -name "*.a" -delete -o -name "*.jar" -delete -o -type d -empty -delete
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "SQL/RDF database used by, e.g., KDE-nepomuk";
homepage = http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/; homepage = http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/;
platforms = platforms.all; platforms = platforms.all;
maintainers = [ maintainers.urkud ]; maintainers = [ maintainers.urkud ];