libtasn1: split "dev" and "doc" outputs
This commit is contained in:
parent
0dff97ec72
commit
90a0c45775
@ -8,6 +8,9 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1j8iixynchziw1y39lnibyl5h81m4p78w3i4f28q2vgwjgf801x4";
|
sha256 = "1j8iixynchziw1y39lnibyl5h81m4p78w3i4f28q2vgwjgf801x4";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "dev" "out" "doc" ]; # it's dev-doc only, lots of it
|
||||||
|
outputBin = "dev";
|
||||||
|
|
||||||
buildInputs = [ perl texinfo ];
|
buildInputs = [ perl texinfo ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl
|
{ stdenv, fetchurl, pkgconfig
|
||||||
, libgcrypt, libgpgerror, libtasn1
|
, libgcrypt, libgpgerror, libtasn1
|
||||||
|
|
||||||
# Optional Dependencies
|
# Optional Dependencies
|
||||||
@ -31,6 +31,7 @@ stdenv.mkDerivation rec {
|
|||||||
# Fixes support for gcrypt 1.6+
|
# Fixes support for gcrypt 1.6+
|
||||||
patches = [ ./gcrypt-fix.patch ];
|
patches = [ ./gcrypt-fix.patch ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ libgcrypt libgpgerror libtasn1 optPam optLibidn optGnutls ];
|
buildInputs = [ libgcrypt libgpgerror libtasn1 optPam optLibidn optGnutls ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
@ -62,11 +63,11 @@ stdenv.mkDerivation rec {
|
|||||||
'' + optionalString (optLibidn != null) ''
|
'' + optionalString (optLibidn != null) ''
|
||||||
-e 's,\(-lidn\),-L${optLibidn}/lib \1,' \
|
-e 's,\(-lidn\),-L${optLibidn}/lib \1,' \
|
||||||
'' + optionalString (optGnutls != null) ''
|
'' + optionalString (optGnutls != null) ''
|
||||||
-e 's,\(-lgnutls\),-L${optGnutls}/lib \1,' \
|
-e 's,\(-lgnutls\),-L${optGnutls.out}/lib \1,' \
|
||||||
'' + ''
|
'' + ''
|
||||||
-e 's,\(-lgcrypt\),-L${libgcrypt}/lib \1,' \
|
-e 's,\(-lgcrypt\),-L${libgcrypt}/lib \1,' \
|
||||||
-e 's,\(-lgpg-error\),-L${libgpgerror}/lib \1,' \
|
-e 's,\(-lgpg-error\),-L${libgpgerror}/lib \1,' \
|
||||||
-e 's,\(-ltasn1\),-L${libtasn1}/lib \1,'
|
-e 's,\(-ltasn1\),-L${libtasn1.out}/lib \1,'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user