2010-05-01 08:41:40 +01:00
|
|
|
{ stdenv, fetchurl, libxml2, openssl, readline, gawk }:
|
|
|
|
|
2010-04-03 18:34:14 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2010-05-01 08:07:31 +01:00
|
|
|
name = "virtuoso-opensource-6.1.1";
|
2010-04-03 18:34:14 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sf/virtuoso/${name}.tar.gz";
|
2010-05-01 08:07:31 +01:00
|
|
|
sha256 = "1sd70j9i26ml16lig9r9lmrdf5q0kybq71r6vzzzc5v5jxjz0l7w";
|
2010-04-03 18:34:14 +01:00
|
|
|
};
|
|
|
|
|
2010-08-06 11:34:34 +01:00
|
|
|
buildInputs = [ libxml2 openssl readline gawk ];
|
2010-04-03 18:34:14 +01: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
|
|
|
|
mkdir $out/share/doc
|
|
|
|
mv $out/share/virtuoso/doc $out/share/doc/${name}
|
|
|
|
find $out -name "*.a" -delete -o -name "*.jar" -delete -o -type d -empty -delete
|
|
|
|
'';
|
2010-05-01 08:07:31 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.urkud ];
|
|
|
|
};
|
2010-04-03 18:34:14 +01:00
|
|
|
}
|