libpst: build as shared library
This commit is contained in:
parent
3102a54e17
commit
59540af4ba
|
@ -1,5 +1,15 @@
|
|||
{ lib, stdenv, fetchurl, autoreconfHook, boost, libgsf,
|
||||
pkg-config, bzip2, xmlto, gettext, imagemagick, doxygen }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
, bzip2
|
||||
, doxygen
|
||||
, gettext
|
||||
, imagemagick
|
||||
, libgsf
|
||||
, xmlto
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libpst-0.6.75";
|
||||
|
@ -9,14 +19,24 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "11wrf47i3brlxg25wsfz17373q7m5fpjxn2lr41dj252ignqzaac";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
doxygen
|
||||
gettext
|
||||
xmlto
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
boost libgsf bzip2
|
||||
xmlto gettext imagemagick doxygen
|
||||
bzip2
|
||||
imagemagick
|
||||
libgsf
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--enable-python=no"
|
||||
"--disable-static"
|
||||
"--enable-libpst-shared"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
@ -24,8 +44,8 @@ stdenv.mkDerivation rec {
|
|||
meta = with lib; {
|
||||
homepage = "https://www.five-ten-sg.com/libpst/";
|
||||
description = "A library to read PST (MS Outlook Personal Folders) files";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [maintainers.tohl];
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.tohl ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue