2013-03-02 15:45:13 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libtool, automake, autoconf
|
|
|
|
, librdf_raptor, librdf_raptor2, ladspaH, openssl, zlib #, swh_lv2
|
|
|
|
}:
|
2010-07-28 13:55:54 +02:00
|
|
|
|
2013-03-02 15:45:13 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "0.5.0";
|
|
|
|
name = "liblrdf-${version}";
|
2009-09-21 11:58:21 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-03-02 15:45:13 +01:00
|
|
|
url = "http://github.com/swh/LRDF/archive/${version}.tar.gz";
|
|
|
|
sha256 = "18p2flb2sv2hq6w2qkd29z9c7knnwqr3f12i2srshlzx6vwkm05s";
|
2009-09-21 11:58:21 +02:00
|
|
|
};
|
|
|
|
|
2013-03-02 15:45:13 +01:00
|
|
|
postPatch = "sed -i -e 's:usr/local:usr:' examples/{instances,remove}_test.c";
|
2013-02-03 15:56:48 +01:00
|
|
|
|
2013-03-02 15:45:13 +01:00
|
|
|
preConfigure = "rm m4/* && autoreconf -if";
|
2009-09-21 11:58:21 +02:00
|
|
|
|
2013-03-02 15:45:13 +01:00
|
|
|
buildInputs = [
|
|
|
|
pkgconfig libtool automake autoconf ladspaH openssl zlib /*swh_lv2*/
|
|
|
|
#librdf_raptor
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ librdf_raptor2 ];
|
|
|
|
|
|
|
|
#doCheck = true; # would need swh_lv2 and some path patching
|
|
|
|
|
|
|
|
meta = {
|
2009-09-21 11:58:21 +02:00
|
|
|
description = "A lightweight RDF library with special support for LADSPA plugins.";
|
|
|
|
homepage = http://sourceforge.net/projects/lrdf/;
|
|
|
|
license = "GPLv2";
|
2010-07-28 13:55:54 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-09-21 11:58:21 +02:00
|
|
|
};
|
|
|
|
}
|