2010-09-30 17:50:37 +01:00
|
|
|
{ stdenv, fetchurl, fetchgit, glib, readline, bison, flex, pkgconfig,
|
2014-11-26 23:16:50 +00:00
|
|
|
libiconv, autoconf, automake, libtool, which, txt2man, gnome_doc_utils,
|
2014-04-12 16:27:26 +01:00
|
|
|
scrollkeeper}:
|
2010-09-30 17:50:37 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2014-09-03 18:54:15 +01:00
|
|
|
name = "mdbtools-git-2014-07-25";
|
2010-09-30 17:50:37 +01:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "http://github.com/brianb/mdbtools.git";
|
2014-09-03 18:54:15 +01:00
|
|
|
rev = "9ab40e83e6789015c965c92bdb62f92f8cdd0dbd";
|
|
|
|
sha256 = "18j1a9y9xhl7hhx30zvmx2n4w7dc8c7sdr6722sf3mh5230mvv59";
|
2010-09-30 17:50:37 +01:00
|
|
|
};
|
|
|
|
|
2014-11-03 11:55:12 +00:00
|
|
|
buildInputs = [
|
|
|
|
glib readline bison flex pkgconfig autoconf automake
|
2014-11-26 23:16:50 +00:00
|
|
|
libtool which txt2man gnome_doc_utils scrollkeeper libiconv
|
|
|
|
];
|
2010-09-30 17:50:37 +01:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
sed -e 's@static \(GHashTable [*]mdb_backends;\)@\1@' -i src/libmdb/backend.c
|
2014-04-12 16:27:26 +01:00
|
|
|
sed -e '/ENABLE_GTK_DOC/aAM_CONDITIONAL(HAVE_GNOME_DOC_UTILS, test x$enable_gtk_doc = xyes)' \
|
|
|
|
-e '/ENABLE_GTK_DOC/aAM_CONDITIONAL(ENABLE_SK, test x$enable_scrollkeeper = xyes)' \
|
|
|
|
-i configure.ac
|
|
|
|
autoreconf -i -f
|
2010-09-30 17:50:37 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ".mdb (MS Access) format tools";
|
|
|
|
};
|
|
|
|
}
|