2010-09-01 10:36:35 +02:00
|
|
|
{stdenv, fetchurl, pkgconfig, perl, perlXMLParser, libxml2, libxslt, docbook_xml_dtd_42, automake}:
|
2009-09-30 07:27:34 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "scrollkeeper-0.3.14";
|
|
|
|
src = fetchurl {
|
2009-09-30 08:10:45 +02:00
|
|
|
url = mirror://gnome/sources/scrollkeeper/0.3/scrollkeeper-0.3.14.tar.bz2;
|
2009-09-30 08:17:54 +02:00
|
|
|
sha256 = "08n1xgj1f53zahwm0wpn3jid3rfbhi3iwby0ilaaldnid5qriqgc";
|
2009-09-30 07:27:34 +02:00
|
|
|
};
|
2010-09-01 10:36:35 +02:00
|
|
|
|
|
|
|
# The fuloong2f is not supported by scrollkeeper-0.3.14 config.guess
|
2009-09-30 07:27:34 +02:00
|
|
|
preConfigure = "
|
|
|
|
substituteInPlace extract/dtds/Makefile.am --replace /usr/bin/xmlcatalog xmlcatalog
|
2010-09-01 10:36:35 +02:00
|
|
|
cp ${automake}/share/automake*/config.{sub,guess} .
|
2009-09-30 07:27:34 +02:00
|
|
|
";
|
2010-09-01 10:36:35 +02:00
|
|
|
|
2009-09-30 07:27:34 +02:00
|
|
|
buildInputs = [pkgconfig perl perlXMLParser libxml2 libxslt];
|
|
|
|
configureFlags = "--with-xml-catalog=${docbook_xml_dtd_42}/xml/dtd/docbook/docbook.cat";
|
|
|
|
}
|