2010-05-01 11:41:40 +04:00
|
|
|
{ stdenv, fetchurl, libxml2, openssl, readline, gawk }:
|
|
|
|
|
2010-04-03 21:34:14 +04:00
|
|
|
stdenv.mkDerivation rec {
|
2013-09-17 22:28:26 +04:00
|
|
|
name = "virtuoso-opensource-7.0.0";
|
2010-04-03 21:34:14 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-09-06 01:02:21 +04:00
|
|
|
url = "mirror://sourceforge/virtuoso/${name}.tar.gz";
|
2013-09-17 22:28:26 +04:00
|
|
|
sha256 = "1z0jdzayv45y57jj8kii6csqfjhswcs8s2krqqfhab54xy6gynbl";
|
2010-04-03 21:34:14 +04:00
|
|
|
};
|
|
|
|
|
2010-08-06 14:34:34 +04:00
|
|
|
buildInputs = [ libxml2 openssl readline gawk ];
|
2010-04-03 21:34:14 +04:00
|
|
|
|
2014-12-17 21:11:30 +03:00
|
|
|
CPP = "${stdenv.cc}/bin/gcc -E";
|
2010-04-03 21:34:14 +04:00
|
|
|
|
2011-09-06 01:02:21 +04:00
|
|
|
configureFlags = "
|
2016-04-16 20:46:17 +03:00
|
|
|
--enable-shared --disable-all-vads --with-readline=${readline.dev}
|
2010-04-03 21:34:14 +04:00
|
|
|
--disable-hslookup --disable-wbxml2 --without-iodbc
|
2016-04-16 20:44:32 +03:00
|
|
|
--enable-openssl=${openssl.dev}
|
2010-04-03 21:34:14 +04:00
|
|
|
";
|
|
|
|
|
|
|
|
postInstall=''
|
2011-09-27 19:40:45 +04:00
|
|
|
echo Moving documentation
|
2011-08-10 13:43:20 +04:00
|
|
|
mkdir -pv $out/share/doc
|
|
|
|
mv -v $out/share/virtuoso/doc $out/share/doc/${name}
|
2011-12-14 18:09:53 +04:00
|
|
|
echo Removing jars and empty directories
|
2010-04-03 21:34:14 +04:00
|
|
|
find $out -name "*.a" -delete -o -name "*.jar" -delete -o -type d -empty -delete
|
|
|
|
'';
|
2014-08-14 20:16:48 +04:00
|
|
|
|
2010-05-01 11:07:31 +04:00
|
|
|
meta = with stdenv.lib; {
|
2011-09-27 19:40:45 +04:00
|
|
|
description = "SQL/RDF database used by, e.g., KDE-nepomuk";
|
2010-05-01 11:07:31 +04:00
|
|
|
homepage = http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/;
|
2016-04-06 19:16:23 +03:00
|
|
|
#configure: The current version [...] can only be built on 64bit platforms
|
2016-09-01 20:39:33 +03:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2010-05-01 11:07:31 +04:00
|
|
|
maintainers = [ maintainers.urkud ];
|
|
|
|
};
|
2010-04-03 21:34:14 +04:00
|
|
|
}
|