libtasn1: split "dev" and "doc" outputs

This commit is contained in:
Vladimír Čunát
2015-10-13 20:18:52 +02:00
parent 0dff97ec72
commit 90a0c45775
2 changed files with 7 additions and 3 deletions
+4 -3
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl
{ stdenv, fetchurl, pkgconfig
, libgcrypt, libgpgerror, libtasn1
# Optional Dependencies
@@ -31,6 +31,7 @@ stdenv.mkDerivation rec {
# Fixes support for gcrypt 1.6+
patches = [ ./gcrypt-fix.patch ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libgcrypt libgpgerror libtasn1 optPam optLibidn optGnutls ];
configureFlags = [
@@ -62,11 +63,11 @@ stdenv.mkDerivation rec {
'' + optionalString (optLibidn != null) ''
-e 's,\(-lidn\),-L${optLibidn}/lib \1,' \
'' + 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,\(-lgpg-error\),-L${libgpgerror}/lib \1,' \
-e 's,\(-ltasn1\),-L${libtasn1}/lib \1,'
-e 's,\(-ltasn1\),-L${libtasn1.out}/lib \1,'
'';
meta = {