2008-05-11 11:45:26 +02:00
|
|
|
args : with args;
|
|
|
|
rec {
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://prdownloads.sourceforge.net/mdbtools/mdbtools-0.6pre1.tar.gz;
|
|
|
|
sha256 = "1lz33lmqifjszad7rl1r7rpxbziprrm5rkb27wmswyl5v98dqsbi";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [glib readline bison flex pkgconfig];
|
|
|
|
configureFlags = [];
|
|
|
|
|
2009-05-20 01:25:58 +02:00
|
|
|
preConfigure = fullDepEntry (''
|
2008-05-11 11:45:26 +02:00
|
|
|
sed -e 's@static \(GHashTable [*]mdb_backends;\)@\1@' -i src/libmdb/backend.c
|
|
|
|
'') ["doUnpack" "minInit"];
|
|
|
|
|
|
|
|
/* doConfigure should be specified separately */
|
|
|
|
phaseNames = ["preConfigure" "doConfigure" "doMakeInstall"];
|
|
|
|
|
|
|
|
name = "mdbtools-" + version;
|
|
|
|
meta = {
|
|
|
|
description = ".mdb (MS Access) format tools";
|
|
|
|
};
|
|
|
|
}
|