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