2010-05-01 09:41:40 +02:00
|
|
|
{ stdenv, fetchurl, libxml2, openssl, readline, gawk }:
|
|
|
|
|
2010-04-03 19:34:14 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2011-08-10 11:43:20 +02:00
|
|
|
name = "virtuoso-opensource-6.1.3";
|
2010-04-03 19:34:14 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sf/virtuoso/${name}.tar.gz";
|
2011-08-10 11:43:20 +02:00
|
|
|
sha256 = "0rj629qjsibpllazngbhzhsh90x6nidpn292qz1xdvirwvb2h3s2";
|
2010-04-03 19:34:14 +02:00
|
|
|
};
|
|
|
|
|
2010-08-06 12:34:34 +02:00
|
|
|
buildInputs = [ libxml2 openssl readline gawk ];
|
2010-04-03 19:34:14 +02:00
|
|
|
|
|
|
|
CPP="${stdenv.gcc}/bin/gcc -E";
|
|
|
|
|
|
|
|
configureFlags="
|
|
|
|
--enable-shared --disable-all-vads --with-readline=${readline}
|
|
|
|
--disable-hslookup --disable-wbxml2 --without-iodbc
|
|
|
|
--enable-openssl=${openssl}
|
|
|
|
";
|
|
|
|
|
|
|
|
postInstall=''
|
|
|
|
echo Move documentation
|
2011-08-10 11:43:20 +02:00
|
|
|
mkdir -pv $out/share/doc
|
|
|
|
mv -v $out/share/virtuoso/doc $out/share/doc/${name}
|
2010-04-03 19:34:14 +02:00
|
|
|
find $out -name "*.a" -delete -o -name "*.jar" -delete -o -type d -empty -delete
|
|
|
|
'';
|
2010-05-01 09:07:31 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.urkud ];
|
|
|
|
};
|
2010-04-03 19:34:14 +02:00
|
|
|
}
|